Skip to content

Commit

Permalink
[CI] Install kuberay operator in buildkite test (ray-project#1308)
Browse files Browse the repository at this point in the history
This PR extends the basic kind-in-docker test to install the Kuberay operator.

---------

Signed-off-by: Archit Kulkarni <[email protected]>
  • Loading branch information
architkulkarni authored and blublinsky committed Aug 15, 2023
1 parent c39936c commit 63ac759
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .buildkite/kind-in-docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- label: kind and kubectl
- label: KubeRay operator on kind
instance_size: large
image: golang:1.17
commands:
Expand Down Expand Up @@ -34,3 +34,23 @@
- kubectl cluster-info
- kubectl get nodes
- kubectl get pods --all-namespaces

# Install Helm
- curl -Lo helm.tar.gz https://get.helm.sh/helm-v3.12.2-linux-amd64.tar.gz
- tar -zxvf helm.tar.gz
- mv linux-amd64/helm /usr/local/bin/helm
- helm repo add kuberay https://ray-project.github.io/kuberay-helm/
- helm repo update

# Install KubeRay operator
- pushd ray-operator
- IMG=kuberay/operator:nightly make docker-image
- kind load docker-image kuberay/operator:nightly
- popd

- pushd helm-chart/kuberay-operator
# Use helm --wait instead of kubectl wait to prevent flakiness. See #618
- helm install kuberay-operator --set image.repository=kuberay/operator --set image.tag=nightly --wait --timeout=5m0s .
- popd

- echo "Kuberay operator successfully installed."

0 comments on commit 63ac759

Please sign in to comment.