We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 882ed7e commit 4710699Copy full SHA for 4710699
.github/workflows/nightly-cleanup.yml
@@ -64,12 +64,12 @@ jobs:
64
- name: Delete clusters if control node not tagged with keep
65
run: |
66
. venv/bin/activate
67
- if [[ -z "${CI_CLUSTERS}" ]]; then
+ if [[ -z "${{ env.ci_clusters }}" ]]; then
68
echo "No clusters to delete."
69
exit 0
70
fi
71
72
- for cluster_prefix in ${CI_CLUSTERS}
+ for cluster_prefix in ${{ env.ci_clusters }}
73
do
74
TAGS=$(openstack server show ${cluster_prefix}-control --column tags --format value)
75
if [[ $TAGS =~ "keep" ]]; then
0 commit comments