From 1fe8f0352d3b923e350aa31b01feb269094c4a27 Mon Sep 17 00:00:00 2001 From: Yannic Bonenberger Date: Thu, 24 Oct 2019 17:20:32 +0200 Subject: [PATCH 1/3] Add config for Bazel CI This PR adds a simple config to test parts of gRPC on Ubuntu 16.04. We will add more platforms (macOS, Windows, RBE, ...) when the build is green. See #19171 --- .bazelci/presubmit.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .bazelci/presubmit.yml diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml new file mode 100644 index 00000000000..9920bc9adfc --- /dev/null +++ b/.bazelci/presubmit.yml @@ -0,0 +1,12 @@ +--- +# TODO(yannic): Ideally, we should also enable buildifier and all platforms should test `//...`. +platforms: + ubuntu1604: + build_targets: + - //:all + - //src/proto/... + - //src/python/... + test_targets: + - //:all + - //src/proto/... + - //src/python/... From dfd3c3ad1b9e8c730d60f458497a18ccabf383f6 Mon Sep 17 00:00:00 2001 From: Yannic Date: Thu, 24 Oct 2019 19:05:43 +0200 Subject: [PATCH 2/3] Add description about Bazel CI --- .bazelci/presubmit.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 9920bc9adfc..386655d16bc 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -1,3 +1,14 @@ +# Configuration file for Bazel CI [1]. +# +# Also testing on Bazel CI in addition of our normal CI workflow +# ensures that gRPC is tested agains Bazel@HEAD and stays compatible +# with the latest release. +# +# See [2,3] in case you have questions. +# +# [1] https://github.com/bazelbuild/continuous-integration +# [2] https://github.com/grpc/grpc/issues/19171 +# [3] https://github.com/grpc/grpc/pull/20784 --- # TODO(yannic): Ideally, we should also enable buildifier and all platforms should test `//...`. platforms: From 6f424fa39a6509727614243af25a1ca3656e54b3 Mon Sep 17 00:00:00 2001 From: Yannic Date: Thu, 24 Oct 2019 19:30:59 +0200 Subject: [PATCH 3/3] s/agains/against --- .bazelci/presubmit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 386655d16bc..ab0bfd3a19d 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -1,7 +1,7 @@ # Configuration file for Bazel CI [1]. # # Also testing on Bazel CI in addition of our normal CI workflow -# ensures that gRPC is tested agains Bazel@HEAD and stays compatible +# ensures that gRPC is tested against Bazel@HEAD and stays compatible # with the latest release. # # See [2,3] in case you have questions.