Commit 2d496721 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Merge branch 'MLAB-240' into 'testing'

[bugfix] certificates moved to variables, cicd config adapted

See merge request !61
parents 9ec78939 53937cc8
Pipeline #983 passed with stage
in 20 seconds
...@@ -2,6 +2,9 @@ deploy-testing: ...@@ -2,6 +2,9 @@ deploy-testing:
stage: deploy stage: deploy
script: script:
- cat $configfiledev > ./config/config.js - cat $configfiledev > ./config/config.js
- cat $cert > ./routes/cert/cert.pem
- cat $certidp > ./routes/cert/cert_idp.pem
- cat $key > ./routes/cert/key.pem
- npm install - npm install
- "pm2 delete --silent account || :" - "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account - pm2 start ./app.js --name=account
...@@ -15,6 +18,9 @@ deploy-master: ...@@ -15,6 +18,9 @@ deploy-master:
stage: deploy stage: deploy
script: script:
- cat $configfileprod > ./config/config.js - cat $configfileprod > ./config/config.js
- cat $cert > ./routes/cert/cert.pem
- cat $certidp > ./routes/cert/cert_idp.pem
- cat $key > ./routes/cert/key.pem
- npm install - npm install
- "pm2 delete --silent account || :" - "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account - pm2 start ./app.js --name=account
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment