2020-05-14 13:24:10 +03:00
|
|
|
trigger: none
|
|
|
|
pr: none
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
- name: dryRun
|
|
|
|
type: boolean
|
2020-07-03 14:38:52 +03:00
|
|
|
default: false
|
2020-05-14 13:24:10 +03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
- template: vars.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: Clean_subscription
|
|
|
|
pool:
|
|
|
|
name: ARO-CI
|
|
|
|
|
|
|
|
steps:
|
2020-08-10 15:25:30 +03:00
|
|
|
- template: ./templates/template-checkout.yml
|
2020-05-14 13:24:10 +03:00
|
|
|
- template: ./templates/template-clean-subscription.yml
|
|
|
|
parameters:
|
|
|
|
dryRun: ${{ parameters.dryRun }}
|
|
|
|
subscriptionCredentialsJSON: $(aro-v4-e2e-devops-spn)
|
|
|
|
subscriptionId: $(subscriptionId)
|
|
|
|
purgeCreatedTag: $(purgeCreatedTag)
|
|
|
|
resourceGroupDeletePrefixes: $(resourceGroupDeletePrefixes)
|
|
|
|
purgeTTL: $(purgeTTL)
|
|
|
|
|