-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Resolve Entrypoint and Cmd if there is no command and no args #4832
Conversation
The following is the coverage report on the affected files.
|
8b5d7e9
to
91c3c50
Compare
The following is the coverage report on the affected files.
|
91c3c50
to
bf790e9
Compare
The following is the coverage report on the affected files.
|
/lgtm |
Prior to this change, if a Step specify neither `command` nor `args`, the entrypoint resolver would only resolve the image `Entrypoint` and thus, only executing that entrypoint. This is confusing to user as it is not how a `docker run` without args produces. This make the behavior very close to `docker run`. If there is no command and no args specified, the entrypoint reslover will join the image `Entrypoint` and `Cmd`. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
bf790e9
to
f7a6c03
Compare
/lgtm |
/retest |
/test pull-tekton-pipeline-go-coverage |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: imjasonh 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 |
/retest |
@vdemeester: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Changes
Prior to this change, if a Step specify neither
command
norargs
,the entrypoint resolver would only resolve the image
Entrypoint
andthus, only executing that entrypoint. This is confusing to user as it
is not how a
docker run
without args produces.This make the behavior very close to
docker run
. If there is nocommand and no args specified, the entrypoint reslover will join the
image
Entrypoint
andCmd
.Signed-off-by: Vincent Demeester vdemeest@redhat.com
/kind bug
Fixes #4794
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes