-
Notifications
You must be signed in to change notification settings - Fork 53
fix(api): split command arguments by space if entrypoint is not /bin/bash -c
#1264
fix(api): split command arguments by space if entrypoint is not /bin/bash -c
#1264
Conversation
@mboersma, @Joshua-Anderson and @krancour are potential reviewers of this pull request based on my analysis of |
since we already make it clear that bash should be present in |
On the contrary, this may not be the fix as this will override docker images that have an entrypoint defined. I think a separate fix is necessary here. |
@bacongobbler Will this only apply to entries in the Procfile named
Since the other process types are still using the same docker image, we'd need to take into account multiple commands in each process type, not just the
I apologize in advance if this is already the case, I'm not familiar with the Deis internals or python, but saw a reference to a dockerfile and Also will the |
Yes, the bug in question only applies to |
7a04c05
to
cfa261e
Compare
deis pull
apps with a cmd process type an entrypointdeis pull
cmd arguments by space
ba3790c
to
8ecadc2
Compare
deis pull
cmd arguments by space/bin/bash -c
k, so the new proposed fix should do the following:
With this, I can successfully deploy example-dockerfile-procfile-http as expected:
|
8ecadc2
to
3bd23c5
Compare
Codecov Report
@@ Coverage Diff @@
## master #1264 +/- ##
==========================================
+ Coverage 87.25% 87.26% +<.01%
==========================================
Files 44 44
Lines 3884 3887 +3
Branches 674 675 +1
==========================================
+ Hits 3389 3392 +3
Misses 327 327
Partials 168 168 Continue to review full report at Codecov.
|
3bd23c5
to
ecfe76e
Compare
ecfe76e
to
02206b7
Compare
closes deis/workflow#715