Skip to content

Commit 6d51184

Browse files
authored
[release auto] remove x86_64 wheel verification (#57913)
we are not releasing `x86_64` wheels anymore Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
1 parent 3287523 commit 6d51184

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

.buildkite/release-automation/verify-macos-wheels.sh

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,13 @@ set -x
1010
PYTHON_VERSIONS=("3.9" "3.10" "3.11" "3.12")
1111
BAZELISK_VERSION="v1.16.0"
1212

13-
# Check arguments
14-
if [[ $# -ne 1 ]]; then
15-
echo "Missing argument to specify machine architecture." >/dev/stderr
16-
echo "Use: x86_64 or arm64" >/dev/stderr
17-
exit 1
18-
fi
19-
20-
MAC_ARCH="$1" # First argument is the architecture of the machine, e.g. x86_64, arm64
2113
export USE_BAZEL_VERSION="${USE_BAZEL_VERSION:-6.5.0}"
2214

2315
# Sets RAY_VERSION and RAY_COMMIT
2416
source .buildkite/release-automation/set-ray-version.sh
2517

2618
install_bazel() {
27-
if [[ "${MAC_ARCH}" == "arm64" ]]; then
28-
URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-darwin-arm64"
29-
elif [[ "${MAC_ARCH}" == "x86_64" ]]; then
30-
URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-darwin-amd64"
31-
else
32-
echo "Could not find matching bazelisk URL for Mac ${MAC_ARCH}" >/dev/stderr
33-
exit 1
34-
fi
19+
URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-darwin-arm64"
3520

3621
TARGET="$TMP_DIR/bin/bazel"
3722
curl -sfL -R -o "${TARGET}" "${URL}"
@@ -41,7 +26,7 @@ install_bazel() {
4126
install_miniforge() {
4227
# Install miniforge3 based on the architecture used
4328
mkdir -p "$TMP_DIR/miniforge3"
44-
curl -sfL https://github.com/conda-forge/miniforge/releases/download/25.3.0-1/Miniforge3-25.3.0-1-MacOSX-"$MAC_ARCH".sh -o "$TMP_DIR/miniforge3/miniforge.sh"
29+
curl -sfL https://github.com/conda-forge/miniforge/releases/download/25.3.0-1/Miniforge3-25.3.0-1-MacOSX-arm64.sh -o "$TMP_DIR/miniforge3/miniforge.sh"
4530
bash "$TMP_DIR/miniforge3/miniforge.sh" -b -u -p "$TMP_DIR/miniforge3"
4631
rm -rf "$TMP_DIR/miniforge3/miniforge.sh"
4732

.buildkite/release-automation/wheels.rayci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,14 @@ steps:
6868
key: block-validate-macos-wheels
6969
depends_on: []
7070

71-
- label: "MacOS x86_64"
72-
key: validate-macos-x86_64-wheels
73-
depends_on:
74-
- block-validate-macos-wheels
75-
job_env: MACOS
76-
instance_type: macos
77-
commands:
78-
- ./.buildkite/release-automation/verify-macos-wheels.sh x86_64
79-
8071
- label: "MacOS arm64"
8172
key: validate-macos-arm64-wheels
8273
depends_on:
8374
- block-validate-macos-wheels
8475
job_env: MACOS
8576
instance_type: macos-arm64
8677
commands:
87-
- ./.buildkite/release-automation/verify-macos-wheels.sh arm64
78+
- bash .buildkite/release-automation/verify-macos-wheels.sh
8879

8980
- block: "Upload wheels to PyPI"
9081
key: block-upload-wheels-pypi

0 commit comments

Comments
 (0)