Skip to content

Commit

Permalink
[ci][kuberay] Always cleanup KinD cluster (ray-project#27073)
Browse files Browse the repository at this point in the history
When cleaning up after the k8s operator tests, we should always delete the k8s cluster even if something went wrong (in fact, it's not clear we even need to clean up the resources within the cluster. 

Signed-off-by: Alex Wu <[email protected]>
  • Loading branch information
wuisawesome committed Jul 27, 2022
1 parent 13d185c commit 837ef77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
- |
cleanup() {
if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi
python python/ray/tests/kuberay/setup/teardown_kuberay.py
python python/ray/tests/kuberay/setup/teardown_kuberay.py || true
kind delete cluster
}
trap cleanup EXIT
Expand Down

0 comments on commit 837ef77

Please sign in to comment.