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

forgot to init var NAMESPACE

parent 9c9dd685
No related branches found
No related tags found
No related merge requests found
Pipeline #119105 failed
...@@ -470,10 +470,12 @@ delete-helm-release:prod: ...@@ -470,10 +470,12 @@ delete-helm-release:prod:
load-website:dev: load-website:dev:
image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION
stage: load-website stage: load-website
variables:
NAMESPACE: "defense-finder-dev"
rules: rules:
- if: $CI_COMMIT_BRANCH != "main" - if: $CI_COMMIT_BRANCH != "main"
script: script:
- kubectl wait pod -l app.kubernetes.io\/name=df-wiki --for condition=Ready --timeout=600s --namespace ${NAMESPACE} - kubectl wait pod -l "app.kubernetes.io/name=df-wiki" --for condition=Ready --timeout=600s --namespace ${NAMESPACE}
- echo "Le pod est ready" - echo "Le pod est ready"
...@@ -481,8 +483,10 @@ load-website:dev: ...@@ -481,8 +483,10 @@ load-website:dev:
load-website:prod: load-website:prod:
image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION
stage: load-website stage: load-website
variables:
NAMESPACE: "defense-finder-prod"
rules: rules:
- if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH == "main"
script: script:
- kubectl wait pod -l app.kubernetes.io\/name=df-wiki --for condition=Ready --timeout=600s --namespace ${NAMESPACE} - kubectl wait pod -l "app.kubernetes.io/name=df-wiki" --for condition=Ready --timeout=600s --namespace ${NAMESPACE}
- echo "Le pod est ready" - echo "Le pod est ready"
\ No newline at end of file
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