Skip to content

Commit

Permalink
Move to new sub, drop all CRDs prior to install
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrod Skulavik committed Apr 21, 2020
1 parent d0cba46 commit 2b3f24d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ stages:
buildContext: '$(System.DefaultWorkingDirectory)'
tags: '$(tag)'

- stage: PurgeCRDs
jobs:
- job: RemoveCRDs
displayName: Drop PurgeCRDs
steps:
- bash: kubectl get crd --no-headers | awk '{print $1}' | xargs -L 1 -I % sh -c '{ kubectl delete crd %; sleep 3; }'

- stage: Deploy
jobs:
- job: InstallControllers
Expand Down Expand Up @@ -141,7 +148,7 @@ stages:
steps:
- task: AzureCLI@2
inputs:
azureSubscription: 'tpark-seusher-jaskulav-ARMConnection'
azureSubscription: 'ASO-DevOps-Subscription'
scriptType: 'bash'
scriptLocation: 'inlineScript'
inlineScript: 'make test-cleanup-azure-resources'

0 comments on commit 2b3f24d

Please sign in to comment.