Skip to content

Commit 388d452

Browse files
authored
Update buildkite jobs (#1345)
* Update buildkite jobs Remove old linux versions; add Bazel 5 check. * Fix identation
1 parent f794d14 commit 388d452

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

.bazelci/presubmit.yml

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
---
22
validate_config: 1
33
tasks:
4-
ubuntu1804:
5-
name: "bazel test //test/..."
6-
platform: ubuntu1804
7-
shell_commands:
8-
# Disable local disk caching on CI.
9-
- mv tools/bazel.rc.buildkite tools/bazel.rc
10-
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
11-
build_targets:
12-
- "//test/..."
13-
test_targets:
14-
- "//test/..."
154
ubuntu2004:
165
name: "bazel test //test/..."
176
platform: ubuntu2004
@@ -33,23 +22,22 @@ tasks:
3322
- "//test/..."
3423
test_targets:
3524
- "//test/..."
36-
rbe_ubuntu1604:
37-
name: "bazel test //test/..."
38-
platform: rbe_ubuntu1604
39-
build_targets:
40-
- "//test/..."
41-
test_targets:
42-
- "//test/..."
4325
test_rules_scala_linux:
4426
name: "./test_rules_scala"
45-
platform: ubuntu1804
27+
platform: ubuntu2004
4628
shell_commands:
4729
# Install xmllint
4830
- sudo apt update && sudo apt install -y libxml2-utils
4931
- "./test_rules_scala.sh"
32+
test_rules_scala_linux_Bazel5:
33+
name: "./test_rules_scala (Bazel 5.0)"
34+
platform: ubuntu2004
35+
bazel: 5.0.0
36+
shell_commands:
37+
- "./test_rules_scala.sh || buildkite-agent annotate --style 'warning' \"Optional build with latest Bazel version failed, [see here](${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}) (It is not mandatory but worth checking)\""
5038
test_rules_scala_linux_latest:
51-
name: "./test_rules_scala (latest bazel)"
52-
platform: ubuntu1804
39+
name: "./test_rules_scala (latest Bazel)"
40+
platform: ubuntu2004
5341
bazel: latest
5442
shell_commands:
5543
- "./test_rules_scala.sh || buildkite-agent annotate --style 'warning' \"Optional build with latest Bazel version failed, [see here](${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}) (It is not mandatory but worth checking)\""
@@ -60,7 +48,7 @@ tasks:
6048
- "./test_rules_scala.sh"
6149
test_coverage_linux_4_1_0:
6250
name: "./test_coverage"
63-
platform: ubuntu1804
51+
platform: ubuntu2004
6452
bazel: 4.1.0
6553
shell_commands:
6654
- "./test_coverage.sh"
@@ -80,7 +68,7 @@ tasks:
8068
platform: macos
8169
shell_commands:
8270
- "./test_reproducibility.sh"
83-
versions_ubuntu2004:
71+
versions_linux:
8472
name: "./test_version.sh"
8573
platform: ubuntu2004
8674
shell_commands:
@@ -90,13 +78,13 @@ tasks:
9078
platform: macos
9179
shell_commands:
9280
- "./test_version.sh"
93-
examples_ubuntu2004:
81+
examples_linux:
9482
name: "./test_examples"
9583
platform: ubuntu2004
9684
bazel: 4.1.0
9785
shell_commands:
9886
- "./test_examples.sh"
99-
lint_ubuntu2004:
87+
lint_linux:
10088
name: "bazel //tools:lint_check"
10189
platform: ubuntu2004
10290
run_targets:

0 commit comments

Comments
 (0)