Skip to content

Commit 2a5f1a9

Browse files
committed
Debugging azure deployment
1 parent 8322605 commit 2a5f1a9

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

azure-pipelines.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,43 @@ stages:
272272
inputs:
273273
helmVersionToInstall: 'latest'
274274

275+
# Show what is installed in the test namespace in-case a cleanup has failed
276+
- task: Kubernetes@1
277+
displayName: 'List Installed Deployments'
278+
name: listpods
279+
inputs:
280+
connectionType: 'Kubernetes Service Connection'
281+
kubernetesServiceEndpoint: $(CLUSTER)
282+
command: 'get'
283+
arguments: '--namespace $(NAMESPACE) deployment'
284+
285+
- task: Kubernetes@1
286+
displayName: 'List Installed Jobs'
287+
name: listpods
288+
inputs:
289+
connectionType: 'Kubernetes Service Connection'
290+
kubernetesServiceEndpoint: $(CLUSTER)
291+
command: 'get'
292+
arguments: '--namespace $(NAMESPACE) jobs'
293+
294+
- task: Kubernetes@1
295+
displayName: 'List Installed Volumes'
296+
name: listpods
297+
inputs:
298+
connectionType: 'Kubernetes Service Connection'
299+
kubernetesServiceEndpoint: $(CLUSTER)
300+
command: 'get'
301+
arguments: '--namespace $(NAMESPACE) pvc,pv'
302+
303+
- task: Kubernetes@1
304+
displayName: 'List Installed statefulsets'
305+
name: listpods
306+
inputs:
307+
connectionType: 'Kubernetes Service Connection'
308+
kubernetesServiceEndpoint: $(CLUSTER)
309+
command: 'get'
310+
arguments: '--namespace $(NAMESPACE) statefulsets'
311+
275312
- task: HelmDeploy@0
276313
displayName: Helm package
277314
inputs:

0 commit comments

Comments
 (0)