ci: try to delete previous k8s deployment before smoke
This way we can keep the last failure around if we need to debug it.
@@ -313,6 +313,14 @@ jobs:
passed: [rc-image]
- get: charts
trigger: true
+ - try:
+ task: delete
+ image: unit-image
+ file: concourse/ci/tasks/k8s-delete.yml
+ params:
+ KUBE_CONFIG: ((kube_config))
+ RELEASE_NAME: concourse-smoke
+ CONCOURSE_IMAGE: concourse/concourse-rc
- task: deploy
image: unit-image
file: concourse/ci/tasks/k8s-deploy.yml
