11 lines
433 B
YAML
Raw Normal View History

2022-08-30 14:35:27 +02:00
name: e2e test cleanup
description: "Clean up existing resource in the e2e-test resource group on Azure"
runs:
using: "composite"
steps:
- name: cleanup
shell: bash --noprofile --norc -e {0}
run: |
resources="$(az resource list --resource-group "e2e-test" | grep \"id\" | awk -F \" '{print $4}')"
for id in $resources; do az resource delete --resource-group "e2e-test" --ids "$id" --verbose; done