Skip to content

Commit a101afb

Browse files
committed
use helmfile to destroy
1 parent 5599983 commit a101afb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

codefresh/destroy.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ steps:
2828
environment:
2929
- NAMESPACE=pr-${{CF_PULL_REQUEST_NUMBER}}-${{CF_REPO_NAME}}
3030
commands:
31-
- "apk add kubectl@cloudposse"
31+
- "apk add kubectl@cloudposse helm@cloudposse=3.1.3-r0 helmfile@cloudposse"
3232
- "kubectl config use-context ${{KUBE_CONTEXT}}"
33-
- "make helm/delete/namespace"
34-
- "make helm/delete/namespace/empty"
33+
- "helmfile --namespace ${{NAMESPACE}} --selector preview=true destroy"
3534
when:
3635
condition:
3736
any:

0 commit comments

Comments
 (0)