prometheus/prompb
Simon Pasquier 375ad1185c
*: bump gRPC dependencies (#5075)
* *: bump gRPC dependencies

This change updates the gRPC dependencies to more recent versions:

* github.com/gogo/protobuf => v1.2.0
* github.com/grpc-ecosystem/grpc-gateway => v1.6.3
* google.golang.org/grpc => v1.17.0

In addition scripts/genproto.sh leverages Go modules information instead of
hardcoding SHA1 commits. This ensures that the code is generated from
the exact same sources.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Run 'make proto' in CI

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Revert tabs -> spaces change

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Fix 'make proto' step

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* 'go get' grpc/protobuf dependencies

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Prepopulate cache with go mod download

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-01-15 15:32:05 +01:00
..
README.md proto: Allow reproducible proto generation. 2018-10-05 10:22:02 +01:00
remote.pb.go *: bump gRPC dependencies (#5075) 2019-01-15 15:32:05 +01:00
remote.proto Pass query hints down into remote read query proto (#4122) 2018-05-08 09:48:13 +01:00
rpc.pb.go *: bump gRPC dependencies (#5075) 2019-01-15 15:32:05 +01:00
rpc.pb.gw.go *: bump gRPC dependencies (#5075) 2019-01-15 15:32:05 +01:00
rpc.proto
types.pb.go *: bump gRPC dependencies (#5075) 2019-01-15 15:32:05 +01:00
types.proto Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01:00

The compiled protobufs are version controlled and you won't normally need to re-compile them when building Prometheus.

If however you have modified the defs and do need to re-compile, run make proto from the parent dir.

In order for the script to run, you'll need protoc (version 3.5.1) in your PATH.