diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index c3cd87c..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -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 diff --git a/config.sample.json b/config.sample.json index cbfb85b..27aed52 100644 --- a/config.sample.json +++ b/config.sample.json @@ -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/",