-
Notifications
You must be signed in to change notification settings - Fork 517
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
Apply 'go mod tidy' after API sync #908
Conversation
might be a good idea to add it the sync happens here go-control-plane/ci/sync_envoy.sh Line 74 in db0b36a
|
I couldn't test this, in codespaces, I have :
Bazel is not installed on codespaces machines maybe it is related |
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.
dont worry about testing it we can land and if there is an issue we can revert
the only question i have is what go version this is using - one way/another i think we want to make sure its pinned
trying to rem how i tested previously - maybe i copied the workflow to trigger on pr altho cant rem if that is allowed for prs to do |
I installed bazellisk on codespace, it's working better now |
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@phlax , |
not sure - im kinda surprised this repo uses make tbh iiuc you would mostly want to run tidy after changing deps so probs a standalone target - but i have limited go experience, so happy to defer to others with more knowledge of go workflows |
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 think what you have here is sufficient, a new make target would be a bit verbose for just running go mod tidy
and make clean
isn't necessary, that seems more for a local dev environment where you may have old binaries etc lying around
@phlax ,
I believe there is no go mod tidy applied after envoy synchronisation