-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
manifest create subcommand should accept more than 2 arguments #10901
manifest create subcommand should accept more than 2 arguments #10901
Conversation
d5a02d0
to
92aed07
Compare
Signed-off-by: Raul Sevilla <[email protected]>
92aed07
to
00db5c6
Compare
@vrothberg PTAL |
This also better matches Docker behavior. LGTM |
Testing is not happy at all, however. |
podman manifest create --all mylist:v1.11 transport:tagged-image-to-add`, | ||
Args: cobra.RangeArgs(1, 2), | ||
Args: cobra.MinimumNArgs(1), |
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.
I think this should be minimalargs(2)
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.
Hey @rhatdan, We currently support creating "empty" manifests, so I think minimalargs(1) is correct.
$ ./bin/podman manifest create mylist:v1.11
a64c46f246df4372ccbf105de02669b123d62fcc2e68dcd055ea9f56a9f05b9
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.
I concur with @rsevilla87 👍
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.
To make CI pass, you need to change Use: "create [options] LIST [IMAGE]",
to Use: "create [options] LIST [IMAGE...]",
Signed-off-by: Raul Sevilla <[email protected]>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, rsevilla87 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 |
The current implementation does not allow passing more than one image.
Signed-off-by: Raul Sevilla [email protected]