-
Notifications
You must be signed in to change notification settings - Fork 293
Add environment variables to docker run cmd #231
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
Conversation
Haha... uhh @galindro you cloned "my" fork, and tried to MR it here. If you can, re-fork from this codebase...
Then patch your changes, and force push so we get just your feature here. And secondarily, I'd suggest making a test (look in test.bats) to prove/ensure this feature works, and continues to work as other changes occur. And finally, of course make sure to run the linting (see package.json) to ensure your code is linted properly or it won't pass CI. Thanks! |
I've forked your repo because I've did 1 enhancement + 1 bug fix in the same PR. The enhancement can be applied to current UnitedIncome/serverless-python-requirements master branch but the fix no. It depends from your fork. Therefore, what can I do is:
What do you think @AndrewFarley? |
@AndrewFarley my time today is a little short... I've did the first proposal and I'm waiting by your answer for the second. |
If you don't have time just let it set for now, I'll get around to helping this get merged after my other PR gets merged. |
Tks @AndrewFarley. I aprecciate your feedback. |
Hey @galindro, I've merged @AndrewFarley's PR, you should be able to rebase on master now 😃 |
@@ -210,7 +219,7 @@ function installRequirements(targetFolder, serverless, options) { | |||
]) | |||
); | |||
} | |||
pipCmd = ['/bin/bash', '-c', '"' + commands.join(' && ') + '"']; | |||
pipCmd = ['/bin/bash', '-c', '"' + commands.join(' ; ') + '"']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the motivation for changing this? Would you really want to keep running commands if one of them fails?
* Add environment variables to docker run cmd * Pass env vars to docker Based on serverless#231 & closes serverless#267 * format * fix docs * Update README.md
* Add environment variables to docker run cmd * Pass env vars to docker Based on serverless#231 & closes serverless#267 * format * fix docs * Update README.md
#Triage |
This indeed still looks useful, and it's quite a minor patch, could use a rebase and additions to the README, and perhaps a test. I'll take this and get it prepared for merge @miketheman |
This appears to have been resolved in #271. Closing! |
Fixes #230