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

Include a direct dependency to controller-tools #295

Merged
merged 1 commit into from Apr 25, 2023

Conversation

bpradipt
Copy link
Contributor

- Description of the problem which is fixed/What is the use case
controller-tools is required for manifest generation and for downstream builds we need to cache all the modules. Consequently all the required modules should be in go.mod

- What I did

Called the Version() method from controller-tools

- How to verify it
Running go mod tidy shouldn't remove the controller-tools

- Description for the changelog
Add explicit dependency to controller-tools

controller-tools is required for manifest generation and
for downstream builds we need to cache all the modules.
Consequently all the required modules should be in go.mod

Fixes: openshift#294
Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
@snir911 snir911 mentioned this pull request Apr 24, 2023
@openshift-ci
Copy link

openshift-ci bot commented Apr 24, 2023

@bpradipt: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/sandboxed-containers-operator-e2e c001fe5 link false /test sandboxed-containers-operator-e2e

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

Copy link
Contributor

@pmores pmores left a comment

Choose a reason for hiding this comment

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

Thanks @bpradipt !

Copy link
Member

@gkurz gkurz left a comment

Choose a reason for hiding this comment

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

This will definitely help. Thanks @bpradipt !

Let's wait for @jensfr's ack before merging.

Copy link
Contributor

@jensfr jensfr left a comment

Choose a reason for hiding this comment

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

lgtm, thank you @bpradipt

@jensfr jensfr merged commit f842c6e into openshift:main Apr 25, 2023
2 of 3 checks passed
@bpradipt bpradipt requested a review from jensfr April 25, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants