diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3c12ea75791485aad6dfeb95d44c25b577a73372..b3992b0ec6677b5c5533b3ef1c9774dd48363794 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -184,25 +184,6 @@ deploy-test: needs: - build-dev -deploy: - stage: push-deploy - before_script: - - apk add git - - apk add bash - script: - - yarn - - git config --global user.name build-pipeline - - git config --global user.email "$GIT_USER" - - git config --global user.password "$GIT_PWD" - - git config user.email "$GIT_USER" - - git remote set-url origin https://"$GIT_USER":"$GIT_PWD"@forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo.git - - git config --global credential.helper store - - yarn deploy - only: - - master - needs: - - build-dev - update-dev: stage: update-instances tags: @@ -218,32 +199,32 @@ update-dev: needs: - deploy-dev -update-demo: +update-all: stage: update-instances tags: - deploy-alpha script: - cd /root/ecolyo-infra-scripts/cicid_scripts - - './update_ecolyodemo_test.sh' + - './update_all_ecolyo_dev.sh' only: - - dev - environment: - name: ecolyodemo - url: https://ecolyo.ecolyodemo.cozy.self-data.alpha.grandlyon.com/ + - master needs: - - deploy-test + - deploy-dev -update-all: +update-demo: stage: update-instances tags: - deploy-alpha script: - cd /root/ecolyo-infra-scripts/cicid_scripts - - './update_all_ecolyo_dev.sh' + - './update_ecolyodemo_test.sh' only: - - master + - dev + environment: + name: ecolyodemo + url: https://ecolyo.ecolyodemo.cozy.self-data.alpha.grandlyon.com/ needs: - - deploy + - deploy-test publish: stage: publish