add gerrit config
diff --git a/buildkite/pipelines/bazelci.py b/buildkite/pipelines/bazelci.py
index 732a307..89bdcca 100644
--- a/buildkite/pipelines/bazelci.py
+++ b/buildkite/pipelines/bazelci.py
@@ -50,6 +50,10 @@
"git_repository": "https://github.com/bazelbuild/eclipse.git",
"http_config": "https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/pipelines/eclipse-postsubmit.json"
},
+ "Gerrit": {
+ "git_repository": "https://gerrit.googlesource.com/gerrit.git",
+ "http_config": "https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/pipelines/gerrit-postsubmit.json"
+ },
"IntelliJ Plugin": {
"git_repository": "https://github.com/bazelbuild/intellij.git",
"http_config": "https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/pipelines/intellij-postsubmit.json"
diff --git a/buildkite/pipelines/gerrit-postsubmit.json b/buildkite/pipelines/gerrit-postsubmit.json
new file mode 100644
index 0000000..10bfb9e
--- /dev/null
+++ b/buildkite/pipelines/gerrit-postsubmit.json
@@ -0,0 +1,19 @@
+{
+ "platforms": {
+ "ubuntu1404": {
+ "build_targets": ["//:release"],
+ "test_flags": ["--test_tag_filters=-slow"],
+ "test_targets": ["..."]
+ },
+ "ubuntu1604": {
+ "build_targets": ["//:release"],
+ "test_flags": ["--test_tag_filters=-slow"],
+ "test_targets": ["..."]
+ },
+ "macos": {
+ "build_targets": ["//:release"],
+ "test_flags": ["--test_tag_filters=-slow"],
+ "test_targets": ["..."]
+ }
+ }
+}