Skip to content

Commit

Permalink
Delete datalake resource group after pipeline test (#466)
Browse files Browse the repository at this point in the history
* add test sample

* add new

* restore changed

* fix sanity error
  • Loading branch information
Fred-sun authored Mar 23, 2021
1 parent 490c64e commit b91b22a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pr-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ jobs:
variables:
TEST_RESOURCE_GROUP: $[ dependencies.CreateResourceGroups.outputs['setvar.resource_group'] ]
TEST_RESOURCE_GROUP_SECONDARY: $[ dependencies.CreateResourceGroups.outputs['setvar.resource_group_secondary'] ]
TEST_RESOURCE_GROUP_DATALAKE: $[ dependencies.CreateResourceGroups.outputs['setvar.resource_group_datalake'] ]
steps:
- task: AzureCLI@2
inputs:
Expand All @@ -209,3 +210,4 @@ jobs:
inlineScript: |
az group delete -n $(TEST_RESOURCE_GROUP) --yes --no-wait
az group delete -n $(TEST_RESOURCE_GROUP_SECONDARY) --yes --no-wait
az group delete -n $(TEST_RESOURCE_GROUP_DATALAKE) --yes --no-wait
1 change: 1 addition & 0 deletions tests/integration/targets/azure_rm_keyvault/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
- backup
- restore
register: output

- name: Assert the resource instance is well created
assert:
that:
Expand Down

0 comments on commit b91b22a

Please sign in to comment.