-
Notifications
You must be signed in to change notification settings - Fork 8
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-run Makefile target #28
Add bundle-run Makefile target #28
Conversation
[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 |
Do we plan to use this for anything other than to deploy operators on our dev clusters ? |
And maybe to simplify testing for others |
/test openshift-e2e |
I am not sure that code that is intended purely for dev purposes belongs here, my first intuition is that this would belong in a more internal space. |
/retest |
That's a good point and I don't have strong opinion about it |
What's the difference to all the other targets, isn't the complete Makefile for devs? 🤔 |
I guess that depends on how you define Definitely not something I feel strongly about though, and IIUC other objections, so we can probably merge ahead. |
Makefile
Outdated
.PHONY: bundle-run | ||
bundle-run: operator-sdk | ||
$(OPERATOR_SDK) -n openshift-operators run bundle $(BUNDLE_IMG) |
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 am not sure that code that is intended purely for dev purposes belongs here, my first intuition is that this would belong in a more internal space.
That's a good point and I don't have strong opinion about it
I join some of us who I believe agree that this is kind of gray area, if this target is needed or in the right place. I don't mind having it.
Maybe just change the bundle name to include something about that specific namespace, -n openshift-operators
or even remove it from the target and set is as a variable that we can export?
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.
A variable we can export seems a good improvement
I added this target to the "Bundle" section just because it refers to bundle, but would the "Development" section fit better? |
ok, let me rephrase 😉
👍🏼 (but
I have no preferance 🤷🏼♂️ |
I don't mind of using the current location |
Add Makefile's target to run bundle via operator-sdk. Signed-off-by: Carlo Lobrano <[email protected]>
42e6f4c
to
4df8c92
Compare
/lgtm |
Add Makefile's target to run bundle via operator-sdk.
Signed-off-by: Carlo Lobrano [email protected]