Skip to content

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

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

Clear GOFLAGS and use -mod=mod to fix CI build without vendor directory#2
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

@openshift-ci

openshift-ci Bot commented Aug 27, 2026

Copy link
Copy Markdown

@kabirbhartiRH: 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/build 506f76d link true /test build

Full PR test history. Your PR dashboard.

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

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.

1 participant