diff --git a/changelog.d/5-internal/integration-cleanup-sh b/changelog.d/5-internal/integration-cleanup-sh new file mode 100644 index 0000000000..343d9f0b3c --- /dev/null +++ b/changelog.d/5-internal/integration-cleanup-sh @@ -0,0 +1,2 @@ +Fix integration-cleanup.sh, now only cleans up releases with `test-` prefixes in +their names. diff --git a/hack/bin/integration-cleanup.sh b/hack/bin/integration-cleanup.sh index 578acb2a8c..e814fa4385 100755 --- a/hack/bin/integration-cleanup.sh +++ b/hack/bin/integration-cleanup.sh @@ -8,7 +8,7 @@ set -euo pipefail DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -releases=$(helm list -A -f 'test-' -o json | +releases=$(helm list -A -f '^test-' -o json | jq -r -f "$DIR/filter-old-releases.jq") if [ -n "$releases" ]; then