Unverified Commit b1e65a23 authored by torgiren's avatar torgiren
Browse files

delete all pvc on cleanup - closes #229

Signed-off-by: torgiren's avatarMarcin Fabrykowski <git@fabrykowski.pl>
1 merge request!19delete all pvc on cleanup - closes #229
Pipeline #1460 passed with stages
in 6 minutes and 15 seconds
Showing with 5 additions and 0 deletions
+5 -0
......@@ -162,11 +162,16 @@ delete_app:
stage: cleanup
image:
name: alpine/helm
before_script:
- apk add --no-cache ca-certificates git curl
- curl -L "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubectl
- chmod +x /usr/local/bin/kubectl
script:
- helm uninstall -n $KUBE_NAMESPACE ldap --wait
- helm uninstall -n $KUBE_NAMESPACE auth --wait
- helm uninstall -n $KUBE_NAMESPACE test-controller --wait
- helm uninstall -n $KUBE_NAMESPACE test-webui --wait
- kubectl -n $KUBE_NAMESPACE delete pvc --all
variables:
GIT_STRATEGY: none
environment:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment