-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add protoc-gen-gotag plugin to builder image #28943
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
Conversation
82e136e
to
4f74bf8
Compare
4f74bf8
to
ce6642f
Compare
I think we need to build a new builder image for the change to effectively take effect, cf https://docs.cilium.io/en/latest/contributing/development/images/#update-cilium-builder-and-cilium-runtime-images |
ce6642f
to
c51f278
Compare
c51f278
to
59abe5b
Compare
I see that the commit in #28944 is the same as the commit here? Is this intended? |
59abe5b
to
cb6c842
Compare
@christarazi I'm not sure if changing the build image can be submitted together with changes using it. That's why this commit is included in both PRs. Once the other PR gets merged this one will be obsolete. If this PR is merged first, the other one will only contain changes after using this build image. |
I am not aware of any problems with the build image being submitted together. I think we should probably close this PR to avoid confusion. |
Oh I see Chance gave details on this and I don't want to be giving conflicting feedback, so please ignore my message above. |
/test |
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.
fine by me, but will similarly conflict with #28945; let's just see who gets in first.
I also had no idea we could do a single PR that modified the base image 😮 |
cb6c842
to
8334f42
Compare
8334f42
to
8cef10b
Compare
Rebased |
/test |
8cef10b
to
1603f99
Compare
/test |
1603f99
to
6fddb88
Compare
6fddb88
to
2330177
Compare
@julianwiedmann rebased, can you trigger the github action to build the image, so I can update definitions |
Just did it. |
Plugin will be used to generate yaml annotation in structs generated from proto to be able to unmarshall FlowFilter from YAML for cilium#25508. Signed-off-by: Marek Chodor <mchodor@google.com>
2330177
to
7215fa2
Compare
thanks, image references updated |
/test |
I just realized that names generated with this plugin are inconsitent with json tags. This would make a mess in the API. I will close this and instead I will use different YAML parser that works with json tags |
Add protoc-gen-gotag plugin to builder image. Add yaml annotations to flow proto gen files. Introduce dynamic hubble flow logs exporters based on config file. Signed-off-by: Marek Chodor <mchodor@google.com> Carry-Patch-Approval: b/309936968 Upstream-PR: cilium#28873 Upstream-PR: cilium#28943 Upstream-PR: cilium#28944 Change-Id: I7871d8b119822c3228a6e959b86dd1b6b23d275a Reviewed-on: https://gke-internal-review.googlesource.com/c/third_party/cilium/+/860928 Unit-Verified: Prow_Bot_V2 <425329972751-compute@developer.gserviceaccount.com> Reviewed-by: Akhil Velagapudi <avelagap@google.com> Reviewed-by: Prow_Bot_V2 <425329972751-compute@developer.gserviceaccount.com> Tested-by: Prow_Bot_V2 <425329972751-compute@developer.gserviceaccount.com>
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Adds a protoc-gen-gotag plugin to generate yaml annotations in the generated proto as discussed in #28873 (comment)
cc: @chancez @glibsm