diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e2bbfde7..bea03f17 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: