Skip to content

Commit

Permalink
Debugging azure deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hardbyte committed Nov 30, 2021
1 parent 8322605 commit 2a5f1a9
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,43 @@ stages:
inputs:
helmVersionToInstall: 'latest'

# Show what is installed in the test namespace in-case a cleanup has failed
- task: Kubernetes@1
displayName: 'List Installed Deployments'
name: listpods
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceEndpoint: $(CLUSTER)
command: 'get'
arguments: '--namespace $(NAMESPACE) deployment'

- task: Kubernetes@1
displayName: 'List Installed Jobs'
name: listpods
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceEndpoint: $(CLUSTER)
command: 'get'
arguments: '--namespace $(NAMESPACE) jobs'

- task: Kubernetes@1
displayName: 'List Installed Volumes'
name: listpods
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceEndpoint: $(CLUSTER)
command: 'get'
arguments: '--namespace $(NAMESPACE) pvc,pv'

- task: Kubernetes@1
displayName: 'List Installed statefulsets'
name: listpods
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceEndpoint: $(CLUSTER)
command: 'get'
arguments: '--namespace $(NAMESPACE) statefulsets'

- task: HelmDeploy@0
displayName: Helm package
inputs:
Expand Down

0 comments on commit 2a5f1a9

Please sign in to comment.