Skip to content

Commit

Permalink
Add delivery deployment and remove account key
Browse files Browse the repository at this point in the history
  • Loading branch information
solocommand committed Jan 16, 2019
1 parent 13812ca commit 2fd06c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scripts/deploy-rancher.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
yarn global add @base-cms/travis-rancher-deployer

deploy-to-rancher "nginx:alpine" manage-nginx
deploy-to-rancher "basecms/parcel-plug:${TRAVIS_TAG}" manage

deploy-to-rancher "basecms/parcel-plug:${TRAVIS_TAG}" graphql
deploy-to-rancher "basecms/parcel-plug:${TRAVIS_TAG}" delivery
1 change: 0 additions & 1 deletion services/delivery/src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const nonemptystr = makeValidator((v) => {
});

module.exports = cleanEnv(process.env, {
ACCOUNT_KEY: nonemptystr({ desc: 'The account/tenant key. Is used for querying the account information and settings from the core database connection.' }),
MONGO_DSN: nonemptystr({ desc: 'The MongoDB DSN to connect to.' }),
INTERNAL_PORT: port({ desc: 'The internal port that express will run on.', default: 80 }),
EXTERNAL_PORT: port({ desc: 'The external port that express is exposed on.', default: 80 }),
Expand Down

0 comments on commit 2fd06c1

Please sign in to comment.