Skip to content

Commit

Permalink
Use case-insentive match when cleaning up test resource groups (#2986)
Browse files Browse the repository at this point in the history
Co-authored-by: narrieta <narrieta>
  • Loading branch information
narrieta authored Nov 16, 2023
1 parent 5ea6b35 commit 029fdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests_e2e/pipeline/pipeline-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ steps:
--output json \
--query value \
| jq --arg date "$date" '.[] | select (.createdTime < $date).name' \
| grep '${{ parameters.name_pattern }}' \
| grep -i '${{ parameters.name_pattern }}' \
| xargs -l -t -r az group delete --no-wait -y -n \
|| echo "No resource groups found to delete"

0 comments on commit 029fdb1

Please sign in to comment.