-
Notifications
You must be signed in to change notification settings - Fork 640
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
Support docker SHELL setting for runCmds #1157
Conversation
Solves issue fabric8io#1156 Signed-off-by: Stefan Meiwald <st.meiwald@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #1157 +/- ##
============================================
+ Coverage 52.31% 52.41% +0.09%
- Complexity 1473 1479 +6
============================================
Files 150 150
Lines 7854 7874 +20
Branches 1168 1172 +4
============================================
+ Hits 4109 4127 +18
Misses 3343 3343
- Partials 402 404 +2
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## master #1157 +/- ##
============================================
+ Coverage 52.31% 52.41% +0.09%
- Complexity 1473 1479 +6
============================================
Files 150 150
Lines 7854 7874 +20
Branches 1168 1172 +4
============================================
+ Hits 4109 4127 +18
Misses 3343 3343
- Partials 402 404 +2
|
Codecov Report
@@ Coverage Diff @@
## master #1157 +/- ##
============================================
+ Coverage 52.31% 52.41% +0.09%
- Complexity 1473 1479 +6
============================================
Files 150 150
Lines 7854 7874 +20
Branches 1168 1172 +4
============================================
+ Hits 4109 4127 +18
Misses 3343 3343
- Partials 402 404 +2
|
Codecov Report
@@ Coverage Diff @@
## master #1157 +/- ##
===========================================
+ Coverage 52.31% 52.41% +0.1%
- Complexity 1473 1479 +6
===========================================
Files 150 150
Lines 7855 7870 +15
Branches 1169 1170 +1
===========================================
+ Hits 4109 4125 +16
Misses 3343 3343
+ Partials 403 402 -1
|
Thanks ! Looks good to me, except that I would use Could you update these please? |
@rhuss I was thinking about using the args but args give the option to be outputted in exec syntax if I understood the code correctly. The shell command in a dockerfile doesn’t allow that unfortunately: “The SHELL instruction must be written in JSON form in a Dockerfile.” I have used args now but added a second method in the DockerFilebuilder, that always uses json syntax. |
Output always in json format. Signed-off-by: Stefan Meiwald <st.meiwald@gmail.com>
I don't mean to rush you but any opinions on my changes? |
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.
Looks good 👍
with which release is this change included or when will it be merged into master? |
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.
lgtm, thanks !
@tcompart I plan to make a release over the weekend. Sorry for the delay. |
thank @rhuss |
Fixes #1156