Skip to content
Snippets Groups Projects
Commit ef14290c authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

change name step post-deploy

parent e6b4d3f3
No related branches found
No related tags found
1 merge request!224Resolve "Rework references"
Pipeline #124494 waiting for manual action with stages
in 8 minutes and 25 seconds
...@@ -460,7 +460,7 @@ delete-helm-release:prod: ...@@ -460,7 +460,7 @@ delete-helm-release:prod:
.post-deploy: .create-structures-archives:
stage: post-deploy stage: post-deploy
image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION
when: manual when: manual
...@@ -477,8 +477,8 @@ delete-helm-release:prod: ...@@ -477,8 +477,8 @@ delete-helm-release:prod:
- kubectl --namespace ${KUBE_NAMESPACE} exec ${WIKI_POD} -- bash -c "cd /usr/share/nginx/html/ && find ./ -name '*.cif' -exec tar -czvf /usr/share/nginx/html/df-all-cifs.tar.gz {} +" - kubectl --namespace ${KUBE_NAMESPACE} exec ${WIKI_POD} -- bash -c "cd /usr/share/nginx/html/ && find ./ -name '*.cif' -exec tar -czvf /usr/share/nginx/html/df-all-cifs.tar.gz {} +"
post-deploy:dev: create-structures-archives:dev:
extends: .post-deploy extends: .create-structures-archives
rules: rules:
- if: $CI_COMMIT_BRANCH != "main" - if: $CI_COMMIT_BRANCH != "main"
needs: needs:
...@@ -494,8 +494,8 @@ post-deploy:dev: ...@@ -494,8 +494,8 @@ post-deploy:dev:
url: "https://${HOST_DEV}" url: "https://${HOST_DEV}"
post-deploy:prod: create-structures-archives:prod:
extends: .post-deploy extends: .create-structures-archives
rules: rules:
- if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH == "main"
needs: needs:
......
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