This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch users/damccorm/debugCI
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/users/damccorm/debugCI by this
push:
new 64f589d652e Update stale_k8s_workload_cleaner.sh
64f589d652e is described below
commit 64f589d652ed4c3087cc35478e482f342340eaa5
Author: Danny McCormick <[email protected]>
AuthorDate: Thu Jan 9 10:53:11 2025 -0500
Update stale_k8s_workload_cleaner.sh
---
.test-infra/tools/stale_k8s_workload_cleaner.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.test-infra/tools/stale_k8s_workload_cleaner.sh
b/.test-infra/tools/stale_k8s_workload_cleaner.sh
index d8a28d21c56..c18a8bf5f74 100755
--- a/.test-infra/tools/stale_k8s_workload_cleaner.sh
+++ b/.test-infra/tools/stale_k8s_workload_cleaner.sh
@@ -18,7 +18,7 @@
# Deletes stale and old BQ datasets that are left after tests.
#
-set -exuo pipefail
+set -euo pipefail
# Clean up the stale kubernetes workload of given cluster
@@ -43,6 +43,7 @@ function should_teardown() {
gcloud container clusters get-credentials io-datastores --zone us-central1-a
--project apache-beam-testing
while read NAME STATUS AGE; do
+ # Regex has temporary workaround to avoid trying to delete already deleted
beam-performancetests-singlestoreio-12661373176
if [[ $NAME =~ ^beam-.+(test|-it)(?!s-singlestoreio-12661373176) ]] &&
should_teardown $AGE; then
kubectl delete namespace $NAME
fi