File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff 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 : listdeployments
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 : listjobs
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 : listvols
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 : liststatefulsets
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 :
You can’t perform that action at this time.
0 commit comments