Skip to content
Snippets Groups Projects
Commit 2e1e80a9 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

branches

parent 5304c59d
No related branches found
No related tags found
1 merge request!1Cicd
Pipeline #43081 passed
...@@ -48,7 +48,7 @@ Build Calqul: ...@@ -48,7 +48,7 @@ Build Calqul:
NAMESPACE_ENV: "d01" NAMESPACE_ENV: "d01"
IMAGE_NAME: calqul-$NAMESPACE_ENV IMAGE_NAME: calqul-$NAMESPACE_ENV
rules: rules:
- if: $CI_COMMIT_BRANCH == "cicd" - if: $CI_COMMIT_BRANCH == "develop"
- changes: # build image only if sources have changed. - changes: # build image only if sources have changed.
- Dockerfile # Image definition has changed - Dockerfile # Image definition has changed
services: services:
...@@ -66,7 +66,7 @@ Build Calqul: ...@@ -66,7 +66,7 @@ Build Calqul:
Deploy Calqul: Deploy Calqul:
stage: Deploy Calqul stage: Deploy Calqul
rules: rules:
- if: $CI_COMMIT_BRANCH == "cicd" - if: $CI_COMMIT_BRANCH == "develop"
variables: variables:
NAMESPACE_ENV: 'd01' NAMESPACE_ENV: 'd01'
NAMESPACE: "ns-$TRIGRAMME-$NAMESPACE_ENV" NAMESPACE: "ns-$TRIGRAMME-$NAMESPACE_ENV"
...@@ -75,5 +75,5 @@ Deploy Calqul: ...@@ -75,5 +75,5 @@ Deploy Calqul:
script: script:
- *apply_confs - *apply_confs
tags: tags:
#- ns-arb-d01 #- ns-arb-d01 @TODO : Change after when the right namespace is available
- ns-test-d01 - ns-test-d01
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment