-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Improve parser for --healthcheck-command #3574
Improve parser for --healthcheck-command #3574
Conversation
@muayyad-alsadi FYI |
Hi @stefanb2. Thanks for your PR. I'm waiting for a containers or openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
894c448
to
dbcfa0f
Compare
dbcfa0f
to
4f8b295
Compare
Can one of the admins verify this patch?
|
/ok-to-test |
/approve Code LGTM, manpages could use a little touchup |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, stefanb2 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4f8b295
to
b56c66c
Compare
Fix Docker CLI compatibility issue: the "--healthcheck-command" option value should not be split but instead be passed as single string to "CMD-SHELL", i.e. "/bin/sh -c <opt>". On the other hand implement the same extension as is already available for "--entrypoint", i.e. allow the option value to be a JSON array of strings. This will make life easier for tools like podman-compose. Updated "--healthcheck-command" option values in tests accordingly. Continuation of containers#3455 & containers#3507 Signed-off-by: Stefan Becker <[email protected]>
b56c66c
to
e4cba7d
Compare
Instead of again hard-coding |
LGTM |
Nice work, thanks! /lgtm |
Test failures look like infra flakes. /retry |
Oh, oops. |
Prow seems like it's down. |
/retest |
1 similar comment
/retest |
fix Docker CLI compatibility issue: the
--healthcheck-command
optionvalue should not be split but instead be passed as single string to
/bin/sh -c <opt>
.on the other hand implement the same extension as is already available
for
--entrypoint
, i.e. allow the option value to be a JSON array ofstrings. This will make life easier for tools like podman-compose.
Continuation of #3455 & #3507