docker-protobuf icon indicating copy to clipboard operation
docker-protobuf copied to clipboard

Upgrade protoc, grpc, go, alpine and gogo versions

Open bogdandrutu opened this issue 5 years ago • 11 comments

bogdandrutu avatar Sep 24 '20 07:09 bogdandrutu

@pavolloffay @jpkrohling can you please help me with this PR, and consider to do a release? I want to update generated model file in the jaeger in the end :)

bogdandrutu avatar Sep 24 '20 07:09 bogdandrutu

We have an issue on rebasing this repo with the origin (#17). Would you be interested in working on that instead? This would be the proper solution.

jpkrohling avatar Sep 24 '20 07:09 jpkrohling

@jpkrohling I can help with that after, but I need this change soon if possible.

bogdandrutu avatar Sep 24 '20 07:09 bogdandrutu

As long as CI is happy, I'm also happy with this change, but @pavolloffay should also take a look, as he has also dealt with this in the past few days.

jpkrohling avatar Sep 24 '20 07:09 jpkrohling

The problem is the newer gogoproto+protoc generate a new MarshalToSizedBuffer and it is impossible to embed the model.proto in another proto that is generated with a newer gogoproto+protoc.

bogdandrutu avatar Sep 24 '20 07:09 bogdandrutu

Yeah, I think that's one of the issues we faced, but not the only one, IIRC.

jpkrohling avatar Sep 24 '20 08:09 jpkrohling

@jpkrohling @pavolloffay you may consider to use https://github.com/open-telemetry/build-tools/blob/master/protobuf/README.md, which is a bit newer (includes this change at least). And we may solve the issue in one place

bogdandrutu avatar Sep 24 '20 08:09 bogdandrutu

I am +1 on unifying the OTEL proto generation with Jaeger. Is https://github.com/open-telemetry/build-tools/blob/master/protobuf/README.md used in the OTEL collector? I could not find a reference to it there.

pavolloffay avatar Sep 24 '20 08:09 pavolloffay

What's the current agreement on this? Will we first rebase this to the latest version from the fork, and then push the changes downstream to OpenTelemetry's, or will this repository here be deprecated in favor of OpenTelemetry's right away? If we'll deprecate this, we should first rebase OpenTelemetry's then, IMO.

jpkrohling avatar Oct 09 '20 14:10 jpkrohling

It is not clear from https://github.com/jaegertracing/docker-protobuf/pull/20#issuecomment-698180418 that OTEL version will work. If OTEL docker image is ready and we can successfully run in in jaeger repo, then +1 to switch.

yurishkuro avatar Oct 09 '20 15:10 yurishkuro

@yurishkuro we made a release of the first version. I can give a try to use it in one of the go repositories.

bogdandrutu avatar Oct 09 '20 15:10 bogdandrutu