Skip to content

Commit

Permalink
Thrift2Grpc compatibility layer (#1105)
Browse files Browse the repository at this point in the history
* Generated proto files

* Added thrift2proto compatibility adapter

* GRPC integration test

* Feature not enabled error mapping

* Add grpc integration test to buildkite pipeline

* Fix code coverage collection
  • Loading branch information
vytautas-karpavicius committed Jun 21, 2021
1 parent 61495d9 commit d432c1f
Show file tree
Hide file tree
Showing 43 changed files with 81,690 additions and 22 deletions.
15 changes: 15 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ steps:
run: integ-test
config: docker/buildkite/docker-compose.yml

- label: ":golang: integration-test-grpc-adapter"
agents:
queue: "workers"
docker: "*"
command: "make integ_test_grpc"
artifact_paths:
- ".build/coverage/*.out"
retry:
automatic:
limit: 1
plugins:
- docker-compose#v3.0.0:
run: integ-test-grpc
config: docker/buildkite/docker-compose.yml

- wait

- label: ":golang: code-coverage"
Expand Down
1 change: 1 addition & 0 deletions .buildkite/scripts/gocov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ mkdir -p .build/coverage
buildkite-agent artifact download ".build/coverage/unit_test_cover.out" . --step ":golang: unit-test" --build "$BUILDKITE_BUILD_ID"
buildkite-agent artifact download ".build/coverage/integ_test_sticky_off_cover.out" . --step ":golang: integration-test-sticky-off" --build "$BUILDKITE_BUILD_ID"
buildkite-agent artifact download ".build/coverage/integ_test_sticky_on_cover.out" . --step ":golang: integration-test-sticky-on" --build "$BUILDKITE_BUILD_ID"
buildkite-agent artifact download ".build/coverage/integ_test_grpc_cover.out" . --step ":golang: integration-test-grpc-adapter" --build "$BUILDKITE_BUILD_ID"

echo "download complete"

Expand Down

0 comments on commit d432c1f

Please sign in to comment.