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

Fix go vendor #278

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

RamLavi
Copy link
Member

@RamLavi RamLavi commented Dec 30, 2024

What this PR does / why we need it:
Former commit introduced a bump to grpc but did not perform the appropriate make vendor step.
This PR fixes this, and also adds a check to CI in order to prevent it from happening again.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer (optional):

last commit [0] introduced a bump to grpc but did not perform the
appropriate make vendor step.
This commit fixes this.

[0] https://github.com/k8snetworkplumbingwg/multus-dynamic-networks-controller/tree/0546691af236bf825d1822d2ad9e7d6a22e10088

Signed-off-by: Ram Lavi <[email protected]>
@RamLavi RamLavi requested a review from maiqueb as a code owner December 30, 2024 19:17
Add a step to run 'make vendor' to ensure the vendor directory is
up-to-date, failing the workflow if changes are needed.

Signed-off-by: Ram Lavi <[email protected]>
@RamLavi
Copy link
Member Author

RamLavi commented Dec 30, 2024

@oshoval any ideas why linter fails?

@oshoval
Copy link
Member

oshoval commented Dec 31, 2024

Please try locally / retest unless you already did, and attach more info if exists / add artifact collector in case needed (not sure we need that deep, but sometimes required)

@RamLavi
Copy link
Member Author

RamLavi commented Dec 31, 2024

@oshoval locally (my pc/hades04) running the lint is failing on other things, but the same happens when I run it on main branch so it's unrelated..
Maybe the specific issue here failing the CI is because I ran make vendor using my local go (which has version 1.23.3) ?

@RamLavi
Copy link
Member Author

RamLavi commented Dec 31, 2024

I see dependabot is still trying to bump gprc, maybe merging that will solve the issue?
#276

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.

2 participants