2020-05-19 13:13:30 +00:00
|
|
|
# workflow
|
2020-01-14 20:36:26 +00:00
|
|
|
stages:
|
2020-05-19 13:13:30 +00:00
|
|
|
- build
|
|
|
|
- test
|
2020-03-15 16:11:16 +00:00
|
|
|
- integration
|
|
|
|
- acceptance
|
2020-04-03 18:02:49 +00:00
|
|
|
- release
|
2020-03-15 16:11:16 +00:00
|
|
|
- deployment
|
2020-01-14 20:36:26 +00:00
|
|
|
|
2020-05-19 13:13:30 +00:00
|
|
|
# default image for jobs
|
|
|
|
default:
|
|
|
|
image: node:11
|
|
|
|
|
|
|
|
# cache modules between jobs
|
|
|
|
cache:
|
|
|
|
key: ${CI_COMMIT_REF_SLUG}
|
|
|
|
paths:
|
|
|
|
- .npm/
|
|
|
|
|
|
|
|
## BUILD ##
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- cp config.sample.json config.json
|
|
|
|
- npm run build
|
|
|
|
artifacts:
|
|
|
|
when: on_success
|
|
|
|
expire_in: 1 day
|
|
|
|
paths:
|
|
|
|
- dist/
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
|
2020-01-14 20:36:26 +00:00
|
|
|
## TESTING ##
|
|
|
|
|
2020-05-19 13:13:30 +00:00
|
|
|
test:e2e:
|
|
|
|
stage: test
|
2020-11-26 22:33:47 +00:00
|
|
|
image: cypress/included:5.6.0
|
2020-05-19 13:13:30 +00:00
|
|
|
services:
|
|
|
|
- name: ${CI_REGISTRY_IMAGE}/server:0.1
|
|
|
|
before_script:
|
|
|
|
# install missing dependencies
|
|
|
|
- npm install -g sirv-cli
|
2020-07-16 14:07:25 +00:00
|
|
|
- npm install cypress-localstorage-commands
|
2020-05-19 13:13:30 +00:00
|
|
|
# making sure the process is orphan
|
|
|
|
- sirv dist --port 3000 > /dev/null 2>&1 &
|
|
|
|
script:
|
|
|
|
- cypress run -e CYPRESS_baseUrl=http://localhost:3000
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
|
2020-01-14 20:36:26 +00:00
|
|
|
## VALIDATION ##
|
|
|
|
|
2021-01-14 12:34:33 +00:00
|
|
|
include:
|
|
|
|
project: infra/gitlab
|
|
|
|
ref: master
|
|
|
|
file: templates/deploy.ci.yml
|
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
test1:
|
2021-01-14 12:34:33 +00:00
|
|
|
extends: .ansible
|
2020-03-15 16:11:16 +00:00
|
|
|
stage: integration
|
2020-01-14 20:36:26 +00:00
|
|
|
environment:
|
2020-03-15 16:11:16 +00:00
|
|
|
name: test1
|
|
|
|
url: https://test1.startinblox.com
|
2020-01-14 20:36:26 +00:00
|
|
|
only:
|
2020-03-16 09:50:07 +00:00
|
|
|
- /^feature\/.*/
|
2020-01-14 20:36:26 +00:00
|
|
|
when: manual
|
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
test2:
|
2021-01-14 14:29:40 +00:00
|
|
|
extends: .ansible
|
2020-03-15 16:11:16 +00:00
|
|
|
stage: integration
|
2020-01-14 20:36:26 +00:00
|
|
|
environment:
|
2020-03-15 16:11:16 +00:00
|
|
|
name: test2
|
|
|
|
url: https://test2.startinblox.com
|
2020-01-14 20:36:26 +00:00
|
|
|
only:
|
2020-03-16 09:51:57 +00:00
|
|
|
- /^feature\/.*/
|
2020-01-14 20:36:26 +00:00
|
|
|
when: manual
|
2020-03-15 16:11:16 +00:00
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
test3:
|
2021-01-14 14:29:40 +00:00
|
|
|
extends: .ansible
|
2020-03-15 16:11:16 +00:00
|
|
|
stage: integration
|
|
|
|
environment:
|
|
|
|
name: test3
|
|
|
|
url: https://test3.startinblox.com
|
|
|
|
only:
|
2020-03-16 09:51:57 +00:00
|
|
|
- /^feature\/.*/
|
2020-03-15 16:11:16 +00:00
|
|
|
when: manual
|
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
stg1:
|
2021-01-14 14:29:40 +00:00
|
|
|
extends: .ansible
|
2020-03-15 16:11:16 +00:00
|
|
|
stage: acceptance
|
|
|
|
environment:
|
|
|
|
name: stg1
|
|
|
|
url: https://stg1.startinblox.com
|
|
|
|
only:
|
2020-03-16 15:12:58 +00:00
|
|
|
- /^release\/.*/
|
|
|
|
when: manual
|
2020-01-14 20:36:26 +00:00
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
stg2:
|
2021-01-14 14:29:40 +00:00
|
|
|
extends: .ansible
|
2020-03-15 16:11:16 +00:00
|
|
|
stage: acceptance
|
2020-01-14 20:36:26 +00:00
|
|
|
environment:
|
2020-03-15 16:11:16 +00:00
|
|
|
name: stg2
|
|
|
|
url: https://stg2.startinblox.com
|
2020-01-14 20:36:26 +00:00
|
|
|
only:
|
2020-03-16 15:12:58 +00:00
|
|
|
- /^release\/.*/
|
|
|
|
when: manual
|
2020-01-14 20:36:26 +00:00
|
|
|
|
2020-04-03 18:02:49 +00:00
|
|
|
## RELEASE TAGGING ##
|
|
|
|
|
|
|
|
publish:
|
|
|
|
stage: release
|
|
|
|
script:
|
2020-12-09 12:55:57 +00:00
|
|
|
- npm install -g semantic-release@v17 @semantic-release/gitlab@v6.0.5
|
2020-04-03 18:02:49 +00:00
|
|
|
- semantic-release
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
tags:
|
|
|
|
- deploy
|
|
|
|
|
2020-03-15 16:11:16 +00:00
|
|
|
## LIVE DEPLOYMENTS ##
|
2020-01-14 20:36:26 +00:00
|
|
|
|
2020-04-01 16:08:27 +00:00
|
|
|
community:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-04-01 16:08:27 +00:00
|
|
|
environment:
|
|
|
|
name: community
|
|
|
|
url: https://community.startinblox.com
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_COMMUNITY" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* community@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-04-01 16:08:27 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-04-01 16:08:27 +00:00
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
nantes:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-01-14 20:36:26 +00:00
|
|
|
environment:
|
|
|
|
name: nantes
|
2020-03-19 12:44:10 +00:00
|
|
|
url: https://app.nantes.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_NANTESHD" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* nantes@ssh-nantes.happy-dev.fr:~/sib/www/
|
|
|
|
only:
|
|
|
|
- master
|
2020-01-14 20:36:26 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-01-14 20:36:26 +00:00
|
|
|
|
2020-03-19 12:44:10 +00:00
|
|
|
paris:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-01-14 20:36:26 +00:00
|
|
|
environment:
|
|
|
|
name: paris
|
2020-03-19 12:44:10 +00:00
|
|
|
url: https://app.paris.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_PARIS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* paris@ssh-paris.happy-dev.fr:~/sib/www/
|
|
|
|
only:
|
|
|
|
- master
|
2020-03-19 12:44:10 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-03-19 12:44:10 +00:00
|
|
|
|
2020-08-10 17:08:33 +00:00
|
|
|
smarttoulouse:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-03-19 12:44:10 +00:00
|
|
|
environment:
|
2020-08-10 17:08:33 +00:00
|
|
|
name: smarttoulouse
|
2020-03-19 12:44:10 +00:00
|
|
|
url: https://smart-toulouse.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_SMARTTOULOUSE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* smart-toulouse@ssh-smart-toulouse.happy-dev.fr:~/www/
|
|
|
|
only:
|
|
|
|
- master
|
2020-01-14 20:36:26 +00:00
|
|
|
when: manual
|
|
|
|
tags:
|
2020-03-15 16:11:16 +00:00
|
|
|
- deploy
|
2020-05-22 16:50:30 +00:00
|
|
|
|
|
|
|
volumes:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-05-22 16:50:30 +00:00
|
|
|
environment:
|
|
|
|
name: volumes
|
|
|
|
url: https://volumes.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_VOLUMES" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* volumes-sib@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-05-22 16:50:30 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-06-11 18:26:43 +00:00
|
|
|
|
2020-06-11 18:35:29 +00:00
|
|
|
communityhubl:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-06-11 18:26:43 +00:00
|
|
|
environment:
|
2020-06-11 18:29:10 +00:00
|
|
|
name: communityhubl
|
2020-06-11 18:26:43 +00:00
|
|
|
url: https://community.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_HUBL_COMMUNITY" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* community-hubl@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-06-11 18:26:43 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-06-29 17:59:23 +00:00
|
|
|
|
|
|
|
playground:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-06-29 17:59:23 +00:00
|
|
|
environment:
|
|
|
|
name: playground
|
|
|
|
url: https://playground.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_PLAYGROUND" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* playground@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-06-29 17:59:23 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-07-21 09:53:18 +00:00
|
|
|
|
|
|
|
casaco:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-07-21 09:53:18 +00:00
|
|
|
environment:
|
|
|
|
name: casaco
|
|
|
|
url: https://casaco.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_CASACO" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* casaco@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-07-21 09:53:18 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-07-27 12:08:29 +00:00
|
|
|
|
|
|
|
opteos:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-07-27 12:08:29 +00:00
|
|
|
environment:
|
|
|
|
name: opteos
|
|
|
|
url: https://opteos.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_OPTEOS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* opteos@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-07-27 12:08:29 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-07-27 12:08:29 +00:00
|
|
|
|
|
|
|
fnk:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-07-27 12:08:29 +00:00
|
|
|
environment:
|
|
|
|
name: fnk
|
|
|
|
url: https://fnk.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_FNK" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* fnk@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-07-27 12:08:29 +00:00
|
|
|
when: manual
|
|
|
|
tags:
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
labriqueterie:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-07-27 12:08:29 +00:00
|
|
|
environment:
|
|
|
|
name: labriqueterie
|
|
|
|
url: https://labriqueterie.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LABRIQUETERIE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* labriqueterie@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-07-27 12:08:29 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-05 12:21:58 +00:00
|
|
|
|
|
|
|
facttic:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-05 12:21:58 +00:00
|
|
|
environment:
|
|
|
|
name: facttic
|
|
|
|
url: https://facttic.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_FACTTIC" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* facttic@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-05 12:21:58 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-05 12:21:58 +00:00
|
|
|
|
|
|
|
cotech:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-05 12:21:58 +00:00
|
|
|
environment:
|
|
|
|
name: cotech
|
|
|
|
url: https://hubl.coops.tech
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_COTECH" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* cotech@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-05 12:21:58 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
lelaptop:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: lelaptop
|
|
|
|
url: https://lelaptop.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LELAPTOP" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* lelaptop@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
virtualassembly:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: virtualassembly
|
|
|
|
url: https://virtual-assembly.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_VIRTUAL_ASS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* virtual-assembly@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
ouisharequebec:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: ouisharequebec
|
|
|
|
url: https://ouishare-quebec.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_OUISHARE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* ouishare-quebec@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
nouvelleaquitaine:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: nouvelleaquitaine
|
|
|
|
url: https://app.nouvelle-aquitaine.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_NVLE_AQ" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* nouvelle-aquitaine@ssh-nouvelle-aquitaine.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
paca:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: paca
|
|
|
|
url: https://app.paca.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_PACA" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* paca@ssh-paca.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
strasbourg:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: strasbourg
|
|
|
|
url: https://app.strasbourg.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_STRASBOURG" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* strasbourg@ssh-strasbourg.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
bretagne:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: bretagne
|
|
|
|
url: https://app.bretagne.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_BRETAGNE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* bretagne@ssh-bretagne.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-10 16:14:15 +00:00
|
|
|
|
|
|
|
lemans:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-10 16:14:15 +00:00
|
|
|
environment:
|
|
|
|
name: lemans
|
|
|
|
url: https://app.lemans.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LEMANS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* lemans@ssh-lemans.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-08-10 16:14:15 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-08-12 15:52:43 +00:00
|
|
|
|
|
|
|
apidays:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-08-12 15:52:43 +00:00
|
|
|
environment:
|
|
|
|
name: apidays
|
|
|
|
url: https://apidays.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_APIDAYS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* apidays@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-09-08 10:11:55 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-09-08 10:11:55 +00:00
|
|
|
|
|
|
|
toulouse:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-09-08 10:11:55 +00:00
|
|
|
environment:
|
|
|
|
name: toulouse
|
|
|
|
url: https://app.toulouse.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_TOULOUSE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* toulouse@ssh-toulouse.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-09-08 10:11:55 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-09-28 12:42:13 +00:00
|
|
|
|
|
|
|
lepool:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-09-28 12:42:13 +00:00
|
|
|
environment:
|
|
|
|
name: lepool
|
|
|
|
url: https://lepool.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LEPOOL" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* lepool@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-09-28 12:42:13 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-09-28 12:42:13 +00:00
|
|
|
|
|
|
|
cpe:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-09-28 12:42:13 +00:00
|
|
|
environment:
|
|
|
|
name: cpe
|
|
|
|
url: https://cpe.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_CPE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* cpe@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-09-28 12:42:13 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-09-28 12:42:13 +00:00
|
|
|
|
|
|
|
lescanumeriques:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-09-28 12:42:13 +00:00
|
|
|
environment:
|
|
|
|
name: lescanumeriques
|
|
|
|
url: https://fichemetier.fr.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LESCANUMERIQUES" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* lescanumeriques@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-09-28 12:42:13 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
phares:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: phares
|
|
|
|
url: https://le.phares.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LE_PHARES" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* phares@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
esspace:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: esspace
|
|
|
|
url: https://ess.pace.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_ESSPACE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* esspace@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
grandecoco:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: grandecoco
|
|
|
|
url: https://la.grande.coco.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_COCO" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* grande-coco@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
espaceimaginaire:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: espaceimaginaire
|
|
|
|
url: https://espace-imaginaire.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_ESPACEIMAGINAIRE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* espace-imaginaire@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
hallesciviques:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: hallesciviques
|
|
|
|
url: https://les.halles.civiques.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_HALLES" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* halles-civiques@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
ctc:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: ctc
|
|
|
|
url: https://collectif.tansition.citoyenne.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_CTC" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* collectif-tansition-citoyenne@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-06 14:57:11 +00:00
|
|
|
|
|
|
|
studiossinguliers:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-06 14:57:11 +00:00
|
|
|
environment:
|
|
|
|
name: studiossinguliers
|
|
|
|
url: https://studios-singuliers.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_SINGULIER" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* studios-singuliers@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-06 14:57:11 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
apluscestmieux:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: apluscestmieux
|
|
|
|
url: https://apluscestmieux.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_APLUS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* apluscestmieux@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
projetlerepaire:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: projetlerepaire
|
|
|
|
url: https://projet.le.repaire.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LEREPAIRE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* projetlerepaire@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
oxamyne:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: oxamyne
|
|
|
|
url: https://oxamyne.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_OXAMYNE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* oxamyne@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
laruchesaintgermain:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: laruchesaintgermain
|
|
|
|
url: https://la.ruche.saint-germain.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LARUCHE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* laruche-saint-germain@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
artefacts:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: artefacts
|
|
|
|
url: https://artefacts.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_ARTEFACTS" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* artefacts@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
lab01:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: lab01
|
|
|
|
url: https://le.lab01.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LAB01" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* le-lab01@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
makesense:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: makesense
|
|
|
|
url: https://makesense.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_MAKESENSE" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* makesense@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
moulindepontru:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: moulindepontru
|
|
|
|
url: https://moulin.de.pont-ru.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_MOULINPONTRU" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* moulin-de-pont-ru@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-23 17:33:35 +00:00
|
|
|
|
|
|
|
latreso:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-23 17:33:35 +00:00
|
|
|
environment:
|
|
|
|
name: latreso
|
|
|
|
url: https://la.treso.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_LATRESO" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* la-treso@astral.startinblox.com:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-23 17:33:35 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-11-24 12:31:41 +00:00
|
|
|
|
|
|
|
montpellier:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-11-24 12:31:41 +00:00
|
|
|
environment:
|
|
|
|
name: montpellier
|
|
|
|
url: https://app.montpellier.happy-dev.fr
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_MONTPELLIER" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* montpellier@ssh-montpellier.happy-dev.fr:~/front/
|
|
|
|
only:
|
|
|
|
- master
|
2020-11-24 12:31:41 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-12-07 19:13:13 +00:00
|
|
|
|
|
|
|
acn:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-12-07 19:13:13 +00:00
|
|
|
environment:
|
|
|
|
name: acn
|
|
|
|
url: https://acn.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_ACN" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* acn@astral.startinblox.com:~/client/dist/
|
|
|
|
only:
|
|
|
|
- master
|
2020-12-07 19:13:13 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2020-12-07 19:13:13 +00:00
|
|
|
|
|
|
|
woma:
|
2021-01-14 16:54:03 +00:00
|
|
|
stage: deployment
|
2020-12-07 19:13:13 +00:00
|
|
|
environment:
|
|
|
|
name: woma
|
|
|
|
url: https://woma.hubl.world
|
2021-01-14 16:54:03 +00:00
|
|
|
before_script:
|
|
|
|
- npm ci --cache .npm --prefer-offline --only=production
|
|
|
|
script:
|
|
|
|
- echo "$APP_CONFIG_WOMA" > config.json
|
|
|
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
|
|
|
- npm run build
|
|
|
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* woma@astral.startinblox.com:~/client/dist/
|
|
|
|
only:
|
|
|
|
- master
|
2020-12-07 19:13:13 +00:00
|
|
|
when: manual
|
2021-01-14 16:54:03 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|