new instance for 227

This commit is contained in:
Mathieu Lagace
2019-08-28 09:28:02 -04:00
parent 509a135e74
commit a3156ac246
12 changed files with 334 additions and 144 deletions

View File

@@ -53,6 +53,22 @@ deploy_736:
only:
- master
deploy_227:
stage: deploy
script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ~/.composer/vendor/bin/envoy run deploy_227 --commit="$CI_COMMIT_SHA"
environment:
name: CCMRC227
url: http://227.exvps.ca
only:
- master
deploy_dev:
stage: deploy
script: