Commit f6ee8c12 authored by David Foucher's avatar David Foucher
Browse files

Fix tag naming, differentiate testing from api to backoffice

parent 79b02fb8
Pipeline #4158 passed with stage
in 3 minutes and 30 seconds
......@@ -51,7 +51,7 @@ api publish:
- /kaniko/executor --context ${CI_PROJECT_DIR}/docker --dockerfile $CI_PROJECT_DIR/docker/dockerfile_trefle --build-arg TREFLE_VERSION=$CI_COMMIT_TAG --build-arg TREFLE_GIT=${CI_PROJECT_URL} --destination ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}
only:
- /^api-v[0-9.ab]+$/
- /^testing$/
- /^testing-api$/
deploy API to staging:
......@@ -72,7 +72,7 @@ deploy API to staging:
- ssh -o StrictHostKeyChecking=no gitlab@${STAGING_SERVEUR_IP} "cd /home/docker && VERSION=${CI_COMMIT_TAG} /bin/bash update_api.sh trefle && echo \"VERSION=${CI_COMMIT_TAG}\" | tee -a update.log >> .env"
only:
- /^api-v[0-9.ab]+$/
- /^testing$/
- /^testing-api$/
backoffice publish:
......@@ -104,4 +104,4 @@ deploy Backoffice to staging:
- ssh -o StrictHostKeyChecking=no gitlab@${STAGING_SERVEUR_IP} "cd /home/docker && BACK_VERSION=${CI_COMMIT_TAG} docker-compose up -d --no-deps web && echo \"BACK_VERSION=${CI_COMMIT_TAG}\" | tee -a .env >> update.log"
only:
- /^backoffice-v[0-9.ab]+$/
- /^testing$/
- /^testing-front$/
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