-
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
Supports import&run--signature-policy #7624
Supports import&run--signature-policy #7624
Conversation
ffe1ae5
to
1cf900c
Compare
/approve |
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.
@QiWang19 Are you going to add tests for the other commands?
libpod/runtime_img.go
Outdated
@@ -174,7 +174,7 @@ func (r *Runtime) Build(ctx context.Context, options imagebuildah.BuildOptions, | |||
} | |||
|
|||
// Import is called as an intermediary to the image library Import | |||
func (r *Runtime) Import(ctx context.Context, source string, reference string, changes []string, history string, quiet bool) (string, error) { | |||
func (r *Runtime) Import(ctx context.Context, source, reference string, signaturePolicyPath string, changes []string, history string, quiet bool) (string, error) { |
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.
func (r *Runtime) Import(ctx context.Context, source, reference string, signaturePolicyPath string, changes []string, history string, quiet bool) (string, error) { | |
func (r *Runtime) Import(ctx context.Context, source, reference, signaturePolicyPath string, changes []string, history string, quiet bool) (string, error) { |
I would like to see either the type after each parameter or collapse all like parameters.
If you get a chance, please correct the typo in the title "Suppots" -> "Supports" |
Touch up @jwhonce 's suggestion and the title, then LGTM. |
f063fc7
to
17b8e24
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: QiWang19, rhatdan 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 |
17b8e24
to
bd94ba6
Compare
@QiWang19 all kinds of tests upset. |
1ba6ef8
to
c123912
Compare
Enables podman create, pull, run, import to use --signature-policy option. Set it as hidden flag to be consistent with other commands. Signed-off-by: Qi Wang <[email protected]>
c123912
to
2fcd1d7
Compare
/lgtm |
/hold cancel |
Enables podman create, pull, run, import to use --signature-policy option. Set it as hidden flag to be consistent with other commands.
Close #6053
Signed-off-by: Qi Wang [email protected]