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

Separate build/pull tool for index rm #374

Merged

Conversation

kevinrizza
Copy link
Member

Like the index add command, index rm can separate the tool/lib that
pulls and unpacks index images from the tool that builds them. This
commit introduces that separation to index rm, defaulting pull tool to
none(using internal containerd libs for pulling) from the build tool
that defaults to podman.

Like the index add command, index rm can separate the tool/lib that
pulls and unpacks index images from the tool that builds them. This
commit introduces that separation to index rm, defaulting pull tool to
none(using internal containerd libs for pulling) from the build tool
that defaults to podman.
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kevinrizza

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 Jul 1, 2020
if err != nil {
return err
}

if containerTool == "none" {
Copy link
Member

Choose a reason for hiding this comment

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

I know we have a lot of conversations around non-tool. I couldn't keep track of what's going on there, Is there any reason we are removing the check here? Thanks.

otherwise lgtm

Copy link
Member Author

Choose a reason for hiding this comment

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

The concept of that check was just moved into the existing private method getContainerTools(), which I'm reusing the logic for:

https://github.com/operator-framework/operator-registry/blob/master/cmd/opm/index/add.go#L162

Copy link
Member

Choose a reason for hiding this comment

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

ahh, nice. Thanks

/lgtm
/hold
waiting for a second review

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 1, 2020
@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 1, 2020
Copy link
Member

@gallettilance gallettilance left a comment

Choose a reason for hiding this comment

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

/lgtm

@kevinrizza
Copy link
Member Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 1, 2020
@kevinrizza
Copy link
Member Author

/retest

@kevinrizza
Copy link
Member Author

/test e2e-aws

Copy link
Member

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

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

/lgtm

@dinhxuanvu
Copy link
Member

/retest

@shawn-hurley
Copy link
Member

/override ci/prow/e2e-aws

Overriding because the test is flaking and this is critical fix for production. The Travis test passed is in verifying this change

@openshift-ci-robot
Copy link

@shawn-hurley: Overrode contexts on behalf of shawn-hurley: ci/prow/e2e-aws

In response to this:

/override ci/prow/e2e-aws

Overriding because the test is flaking and this is critical fix for production. The Travis test passed is in verifying this change

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.

@openshift-bot
Copy link
Contributor

/retest

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

@shawn-hurley
Copy link
Member

/override ci/prow/e2e-aws

@openshift-ci-robot
Copy link

@shawn-hurley: Overrode contexts on behalf of shawn-hurley: ci/prow/e2e-aws

In response to this:

/override ci/prow/e2e-aws

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.

@openshift-merge-robot openshift-merge-robot merged commit 5473e43 into operator-framework:master Jul 1, 2020
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants