Skip to content
Snippets Groups Projects
Verified Commit 7e12e21b authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix delete review

parent 79f0a3f3
No related branches found
No related tags found
No related merge requests found
Pipeline #179592 passed
...@@ -99,6 +99,8 @@ delete review: ...@@ -99,6 +99,8 @@ delete review:
before_script: before_script:
- echo $KUBECONFIG | base64 -d > /tmp/kubeconfig - echo $KUBECONFIG | base64 -d > /tmp/kubeconfig
- cd deploy/overlays/review - cd deploy/overlays/review
- kustomize edit set image registry.edugit.org/teckids/team-pr/teckids.org:$CI_COMMIT_REF_NAME@$(cat ../../../DIGESTFILE)
- kustomize edit set nameprefix $CI_COMMIT_REF_SLUG
- kustomize build | sed s/__REVIEW_NAME__/$CI_COMMIT_REF_SLUG/g > output.yaml - kustomize build | sed s/__REVIEW_NAME__/$CI_COMMIT_REF_SLUG/g > output.yaml
script: script:
- kubectl --kubeconfig=/tmp/kubeconfig delete -f output.yaml - kubectl --kubeconfig=/tmp/kubeconfig delete -f output.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment