Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the --deploy.env flag #226

Merged
merged 1 commit into from
May 22, 2018

Conversation

lholmquist
Copy link
Member

This will allow users to pass in environment variables that should be added to a deployment config.

ex: nodeshift --deploy.env NODE_ENV=development

If a deployment.yaml in the .nodeshift directory already exists with environment variables, they will be merged together
If there are duplicate vars, the ones passed in from the cli/api will take precedence.

fixes #223

@coveralls
Copy link

coveralls commented May 21, 2018

Coverage Status

Coverage increased (+0.1%) to 96.193% when pulling 11dd507 on lholmquist:223-deploy-env into 98576e6 on bucharest-gold:master.

This will allow users to pass in environment variables that should be added to a deployment config.

ex: nodeshift --deploy.env NODE_ENV=development

If a deployment.yaml in the .nodeshift directory already exists with environment variables, they will be merged together
If there are duplicate vars, the ones passed in from the cli/api will take precedence.

fixes nodeshift#223
@ghost ghost removed the in progress label May 22, 2018
@lholmquist lholmquist merged commit 74c482c into nodeshift:master May 22, 2018
@ghost ghost removed the review label May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add deployment environment variables
2 participants