Skip to content

Commit

Permalink
Update janitor.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Chandan Pinjani <chandan.pinjani@suse.com>
  • Loading branch information
cpinjani authored Oct 11, 2024
1 parent 3d5dfcb commit 39613da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/janitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
continue-on-error: true
run: |
# Get the AKS clusters by prefix
for rg in $(az group list --query "[?contains(name,'auto-aks-hp-ci')].{Name: name}" | jq -r ".[] | .Name" 2> /dev/null); do
for rg in $(az group list --query "[?starts_with(name,'auto-aks-hp-ci')].{Name: name}" | jq -r ".[] | .Name" 2> /dev/null); do
echo "Deleting AKS resource group: $rg"
az group delete --name $rg --yes
done
Expand Down

0 comments on commit 39613da

Please sign in to comment.