aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci
diff options
context:
space:
mode:
authorGravatar dmarting <dmarting@google.com>2017-08-25 15:23:27 +0200
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-08-25 16:04:51 +0200
commit3d2feca630fc4247344ef46ab246f0bb1938e592 (patch)
treedf3f130875fc77e70397cfde2681e66358388777 /scripts/ci
parentbb94d1b74280a98189114f7636195b3f745fb523 (diff)
Shard docker-tests
This divide the docker tests in 2 parts (with the current build file it is 6 per jobs) and each configuration can now be run on different worker. Issue bazelbuild/continuous-integration#98 PiperOrigin-RevId: 166469254
Diffstat (limited to 'scripts/ci')
-rw-r--r--scripts/ci/bazel-docker-tests.json15
1 files changed, 13 insertions, 2 deletions
diff --git a/scripts/ci/bazel-docker-tests.json b/scripts/ci/bazel-docker-tests.json
index cc427aa209..bec4b0be3c 100644
--- a/scripts/ci/bazel-docker-tests.json
+++ b/scripts/ci/bazel-docker-tests.json
@@ -2,11 +2,22 @@
{
"node": "docker",
"variation": "",
+ "shard": "1",
"parameters": {
"targets": [],
"tests": [
- "//tools/cpp/...",
- "filter(\"^//src/test/docker\", //src/test/...)"
+ "filter(ubuntu, //src/test/docker/...)"
+ ]
+ }
+ },
+ {
+ "node": "docker",
+ "variation": "",
+ "shard": "2",
+ "parameters": {
+ "targets": [],
+ "tests": [
+ "//src/test/docker/... - filter(ubuntu, //src/test/docker/...)"
]
}
}