mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[ci][kuberay] Always cleanup KinD cluster (#27073)
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 <itswu.alex@gmail.com>
This commit is contained in:
parent
13d185cd81
commit
837ef777a3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue