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

ci: use docker-generate-protobuf by default in Makefile #663

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rakshith-R
Copy link
Member

This commit modifies Makefile to use docker-generate-protobuf instead of generate-protobuf by default.

Makefile Show resolved Hide resolved
@black-dragon74
Copy link
Member

We need to update protobuf versions inside the tools container as well.

This commit modifies Makefile to use docker-generate-protobuf
instead of generate-protobuf by default.

Signed-off-by: Rakshith R <[email protected]>
@Rakshith-R
Copy link
Member Author

We need to update protobuf versions inside the tools container as well.

where exactly ?

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc v3.20.2
// protoc v3.19.6
Copy link
Member

Choose a reason for hiding this comment

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

We should keep this to the same version as we have in GitHub action

is the place we are installing this in fedora or remove installing protobuf in the GitHub action, we need to be consistency

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd prefer to remove the protoc installation in the github action. The CI job calls make test, so it should run in the container now too.

https://github.com/csi-addons/kubernetes-csi-addons/blob/main/.github/workflows/test-golang.yaml#L23-L27

Copy link
Collaborator

Choose a reason for hiding this comment

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

Once this is addressed, it should be good to go.

@black-dragon74
Copy link
Member

We need to update protobuf versions inside the tools container as well.

where exactly ?

Right now the tools container uses the latest available version from Fedora. We should pin the version to that in the spec repo. We could have something like this for protoc tools.

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc v3.20.2
// protoc v3.19.6
Copy link
Collaborator

Choose a reason for hiding this comment

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

Once this is addressed, it should be good to go.

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.

4 participants