woodpecker/pipeline/rpc
6543 92614dfb1e
Agent check gRPC version against server (#1653)
close #1114

As long as the `VersionResponse` type is not changed the check will
fail/pass gracefully

example output:
```
{"level":"error","error":"GRPC version mismatch","time":"2023-03-19T19:49:09+01:00","message":"Server version next-6923e7ab does report grpc version 2 but we only understand 1"}
GRPC version mismatch
```
2023-03-19 22:42:21 +01:00
..
proto Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
line.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
line_test.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
peer.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00