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 bundle-cleanup target #103

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

clobrano
Copy link
Contributor

@clobrano clobrano commented Nov 9, 2023

Add bundle-cleanup target to remove the bundle installed via bundle-run

Add bundle-cleanup target to remove the bundle installed via bundle-run

Signed-off-by: Carlo Lobrano <[email protected]>
Copy link
Contributor

openshift-ci bot commented Nov 9, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

openshift-ci bot commented Nov 9, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano

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 openshift-ci bot added the approved label Nov 9, 2023
@clobrano clobrano marked this pull request as ready for review November 9, 2023 17:54
@openshift-ci openshift-ci bot requested review from beekhof and razo7 November 9, 2023 17:55
@slintes
Copy link
Member

slintes commented Nov 10, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 10, 2023
@openshift-merge-bot openshift-merge-bot bot merged commit e3943c8 into medik8s:main Nov 10, 2023
18 checks passed
Copy link
Member

@razo7 razo7 left a comment

Choose a reason for hiding this comment

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

Thanks for adding :) left small nit that we can follow up later

@@ -191,6 +191,10 @@ export BUNDLE_RUN_NAMESPACE ?= openshift-operators
bundle-run: operator-sdk ## Run bundle image. Default NS is "openshift-operators", redefine BUNDLE_RUN_NAMESPACE to override it.
$(OPERATOR_SDK) -n $(BUNDLE_RUN_NAMESPACE) run bundle $(BUNDLE_IMG)

.PHONY: bundle-cleanup
bundle-cleanup: operator-sdk ## Remove bundle installed via bundle-run
$(OPERATOR_SDK) -n openshift-operators cleanup $(OPERATOR_NAME)
Copy link
Member

Choose a reason for hiding this comment

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

NIT: would have been nicer if the namespace would be easily adjustable for cleaning up installation on any namespace.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This makes sense 👍
Let's also see how it goes the discussion about the new installation namespace

Copy link
Member

Choose a reason for hiding this comment

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

discussion about the new installation namespace

I think this discussion is about the installation namespace for downstream FAR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this discussion is about the installation namespace for downstream FAR.

I see, I didn't get this at first. Also, just noticed that bundle-run already is adjustable so I'll change bundle-cleanup accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants