update: remove gitlab-ci

This commit is contained in:
Jean-Baptiste Pasquier 2019-12-10 14:54:49 +01:00
parent 49e8fe9fee
commit e56460948f
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
2 changed files with 1 additions and 61 deletions

View File

@ -1,61 +0,0 @@
image: node
stages:
- deploy_staging
- deploy_preproduction
## STAGING ##
deploy_paris_stg:
stage: deploy_staging
environment:
name: paris_stg
url: https://staging.test-paris.happy-dev.fr
script:
- echo "$APP_CONFIG_PARIS_STG" > config.json
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
only:
- staging
- feat/manager_deploy
tags:
- sib
deploy_nantes:
stage: deploy_preproduction
environment:
name: nantes
url: https://test-nantes.happy-dev.fr
script:
- echo "$APP_CONFIG_NANTES" > config.json
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-nantes@ssh-test-nantes.happy-dev.fr:~/www/
only:
- staging
- feat/manager_deploy
tags:
- sib
## PRODUCTION ##
deploy_paris:
stage: deploy_preproduction
environment:
name: paris
url: https://test-paris.happy-dev.fr
script:
- echo "$APP_CONFIG_PARIS" > config.json
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/www/
only:
- staging
- feat/manager_deploy
when: manual
tags:
- sib

View File

@ -2,6 +2,7 @@
"xmpp": "https://jabber.happy-dev.fr/http-bind/",
"authority": "http://localhost:8000/",
"endpoints": {
"businessproviders": "http://localhost:8000/businessproviders/",
"circles": "http://localhost:8000/circles/",
"groups": "http://localhost:8000/groups/",
"joboffers": "http://localhost:8000/job-offers/",