Skip to content

Clear GOFLAGS and use -mod=mod to fix CI build without vendor directory - #2

Closed
kabirbhartiRH wants to merge 1 commit into
openshift-eng:mainfrom
kabirbhartiRH:main
Closed

kabirbhartiRH wants to merge 1 commit into
openshift-eng:mainfrom
kabirbhartiRH:main

Conversation

@kabirbhartiRH

Copy link
Copy Markdown
Collaborator

The CI builder image sets GOFLAGS=-mod=vendor globally, which requires a vendor directory. Since this repo does not vendor dependencies, clear GOFLAGS and explicitly pass -mod=mod to allow Go to download dependencies at build time

@openshift-ci

openshift-ci Bot commented Aug 27, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kabirbhartirh for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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

@kabirbhartiRH

Copy link
Copy Markdown
Collaborator Author

/retest

1 similar comment
@kabirbhartiRH

Copy link
Copy Markdown
Collaborator Author

/retest

@kabirbhartiRH

Copy link
Copy Markdown
Collaborator Author

/test build

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 10, 2026
@openshift-ci

openshift-ci Bot commented Sep 10, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

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-sigs/prow repository.

@kabirbhartiRH

Copy link
Copy Markdown
Collaborator Author

Closing this as the fix is already applied under Makefile

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

Labels

needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant