Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0.1 PICK] Update Kuberay version in CI. (#27967) #29151

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions python/ray/autoscaler/kuberay/init-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

# Clone pinned Kuberay commit to temporary directory, copy the CRD definitions
# into the autoscaler folder.
KUBERAY_COMMIT="v0.3.0-rc.2"
OPERATOR_TAG="v0.3.0-rc.2"

KUBERAY_SHA="ce84f0441c991eb4b0f52ee2cd85c0a5ac048d11"
OPERATOR_TAG=${KUBERAY_SHA:0:7}

# Requires Kustomize (dependency to be removed after KubeRay 0.3.0 cut)
# Requires Kustomize
if ! command -v kustomize &> /dev/null
then
echo "Please install kustomize. Then re-run this script."
Expand All @@ -18,12 +17,9 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
DIR=$(mktemp -d -t "kuberay-XXXXXX")

pushd "$DIR" || exit
git clone https://github.com/ray-project/kuberay/
pushd "kuberay" || exit
git checkout "$KUBERAY_SHA$"
pushd ray-operator/config/default || exit
kustomize edit set image kuberay/operator=kuberay/operator:"$OPERATOR_TAG"
popd || exit
cp -r ray-operator/config "$SCRIPT_DIR/"
git clone https://github.com/ray-project/kuberay/ --branch "$KUBERAY_COMMIT" --depth 1
pushd kuberay/ray-operator/config/default || exit
kustomize edit set image kuberay/operator=kuberay/operator:"$OPERATOR_TAG"
popd || exit
cp -r kuberay/ray-operator/config "$SCRIPT_DIR/"
popd || exit
32 changes: 0 additions & 32 deletions python/ray/autoscaler/kuberay/kuberay-autoscaler-rbac.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions python/ray/autoscaler/kuberay/kuberay-autoscaler.patch

This file was deleted.