Commit 2064ad94 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

shutdown frontend before backend

parent 0ab5b38e
......@@ -138,6 +138,7 @@ stop_and_delete_in_dev:
script:
- echo "Removing $CI_COMMIT_REF_SLUG"
- kubectl --namespace=$NAMESPACE --wait=true delete hpa -l branch=branch-$CI_COMMIT_REF_SLUG
- kubectl --namespace=$NAMESPACE --wait=true delete deploy,replicasets -l branch=branch-$CI_COMMIT_REF_SLUG -l role=front
- kubectl --namespace=$NAMESPACE --wait=true delete deploy,replicasets -l branch=branch-$CI_COMMIT_REF_SLUG
- kubectl --namespace=$NAMESPACE --wait=true delete cronjob -l branch=branch-$CI_COMMIT_REF_SLUG
- kubectl --namespace=$NAMESPACE --wait=true delete ing,svc -l branch=branch-$CI_COMMIT_REF_SLUG
......
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