aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/bazel-docker-tests.json29
-rw-r--r--scripts/ci/bazel-slow-tests.json23
-rw-r--r--scripts/ci/bazel-tests.json9
3 files changed, 43 insertions, 18 deletions
diff --git a/scripts/ci/bazel-docker-tests.json b/scripts/ci/bazel-docker-tests.json
index 0fc2cd2155..02a76e4ee8 100644
--- a/scripts/ci/bazel-docker-tests.json
+++ b/scripts/ci/bazel-docker-tests.json
@@ -1,22 +1,23 @@
[
{
"node": "docker",
- "shard": "1",
+ "configurations": [
+ {
+ "shard": 1,
+ "parameters": {"test_tag_filters": ["docker", "shard-1"]}
+ },
+ {
+ "shard": 2,
+ "parameters": {"test_tag_filters": ["docker", "shard-2"]}
+ },
+ {
+ "shard": 3,
+ "parameters": {"test_tag_filters": ["docker", "shard-3"]}
+ }
+ ],
"parameters": {
"targets": [],
- "tests": [
- "filter(ubuntu, //src/test/docker/...)"
- ]
- }
- },
- {
- "node": "docker",
- "shard": "2",
- "parameters": {
- "targets": [],
- "tests": [
- "//src/test/docker/... - filter(ubuntu, //src/test/docker/...)"
- ]
+ "tests": ["//src/test/docker/..."]
}
}
]
diff --git a/scripts/ci/bazel-slow-tests.json b/scripts/ci/bazel-slow-tests.json
new file mode 100644
index 0000000000..02a76e4ee8
--- /dev/null
+++ b/scripts/ci/bazel-slow-tests.json
@@ -0,0 +1,23 @@
+[
+ {
+ "node": "docker",
+ "configurations": [
+ {
+ "shard": 1,
+ "parameters": {"test_tag_filters": ["docker", "shard-1"]}
+ },
+ {
+ "shard": 2,
+ "parameters": {"test_tag_filters": ["docker", "shard-2"]}
+ },
+ {
+ "shard": 3,
+ "parameters": {"test_tag_filters": ["docker", "shard-3"]}
+ }
+ ],
+ "parameters": {
+ "targets": [],
+ "tests": ["//src/test/docker/..."]
+ }
+ }
+]
diff --git a/scripts/ci/bazel-tests.json b/scripts/ci/bazel-tests.json
index 076136a276..08233a37ec 100644
--- a/scripts/ci/bazel-tests.json
+++ b/scripts/ci/bazel-tests.json
@@ -22,10 +22,11 @@
],
"tests": [
"//scripts/...",
- "filter(\"^(?!//src/test/docker).*$\", //src/test/...)",
+ "//src/test/...",
"//third_party/ijar/...",
"//tools/android/..."
],
+ "test_tag_filters": ["-docker"],
"targets": []
}
}, {
@@ -71,11 +72,11 @@
"build_opts": ["--define IPHONE_SDK=1"],
"tests": [
"//scripts/...",
- "filter(\"^(?!//src/test/docker).*$\", //src/test/...)",
+ "//src/test/...",
"//third_party/ijar/...",
- "//tools/android/...",
- "//src/test/shell/bazel:cpp_darwin_integration_test"
+ "//tools/android/..."
],
+ "test_tag_filters": ["-docker"],
"targets": []
}
}, {