Skip to content
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

add "pull" action to docker registry client context #21965

Conversation

juanvallejo
Copy link
Contributor

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 4, 2019
@smarterclayton
Copy link
Contributor

I was pretty sure that pull was always added. Did that get lost during a refactor?

@@ -212,9 +213,9 @@ func (o *AppendImageOptions) Run() error {
return err
}
creds := dockercredentials.NewLocal()
ctx := context.Background()
ctx := apirequest.NewContext()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this context change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wanted parity with the way image/mirror does it.

@juanvallejo juanvallejo force-pushed the jvallejo/fix-authentication-adm-release-new branch from 6d02ed9 to 6cb8902 Compare February 5, 2019 16:19
@juanvallejo
Copy link
Contributor Author

juanvallejo commented Feb 5, 2019

@smarterclayton

I was pretty sure that pull was always added. Did that get lost during a refactor?

"pull" has not been there, at least since commit 9b4b33618d93650070698b74ea62370c606d712e which was the last time this file was moved to its current location (9b4b336)

@smarterclayton
Copy link
Contributor

smarterclayton commented Feb 5, 2019 via email

@juanvallejo
Copy link
Contributor Author

@smarterclayton it looks like we only add "pull" at the registryclient level if no other actions were specified: https://github.com/openshift/origin/blob/master/pkg/image/registryclient/client.go#L311

@juanvallejo
Copy link
Contributor Author

/retest

6 similar comments
@openshift-bot
Copy link
Contributor

/retest

@soltysh
Copy link
Contributor

soltysh commented Feb 6, 2019

/retest

@juanvallejo
Copy link
Contributor Author

/retest

@soltysh
Copy link
Contributor

soltysh commented Feb 8, 2019

/retest

@juanvallejo
Copy link
Contributor Author

/retest

@soltysh
Copy link
Contributor

soltysh commented Feb 11, 2019

/retest

@smarterclayton
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: juanvallejo, smarterclayton

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 11, 2019
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@soltysh
Copy link
Contributor

soltysh commented Feb 12, 2019

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 236b83b into openshift:master Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants