Add an optional Bazel package to CI
Also condition all the tools the Bazel builders won't need. (Perl and Go
aren't build dependencies anymore.) Given we've broken this build a
couple times, it's clear we need to just put it on CI.
This will be paired with a new recipe in the recipes repo.
Bug: 42290610
Change-Id: I90a4b376849dee9dde3dfcd12c8df60db1b0120c
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/70747
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/util/bot/DEPS b/util/bot/DEPS
index cb4bc0b..441b843 100644
--- a/util/bot/DEPS
+++ b/util/bot/DEPS
@@ -15,8 +15,12 @@
vars = {
'chromium_git': 'https://chromium.googlesource.com',
+ 'checkout_bazel': False,
'checkout_clang': False,
+ 'checkout_cmake': True,
+ 'checkout_go': True,
'checkout_fuzzer': False,
+ 'checkout_perl': True,
'checkout_sde': False,
'checkout_nasm': False,
'checkout_libcxx': False,
@@ -26,6 +30,8 @@
# Run the following command to see the latest builds in CIPD:
# cipd describe PACKAGE_NAME -version latest
+ # infra/3pp/tools/bazel_bootstrap/linux-amd64
+ 'bazel_version': 'version:3@7.3.1.1',
# infra/3pp/tools/cmake/linux-amd64
'cmake_version': 'version:3@3.30.2.chromium.8',
# infra/3pp/tools/go/linux-amd64
@@ -66,11 +72,21 @@
'dep_type': 'cipd',
},
+ 'boringssl/util/bot/bazel': {
+ 'packages': [{
+ 'package': 'infra/3pp/tools/bazel_bootstrap/${{platform}}',
+ 'version': Var('bazel_version'),
+ }],
+ 'condition': 'checkout_bazel',
+ 'dep_type': 'cipd',
+ },
+
'boringssl/util/bot/cmake': {
'packages': [{
'package': 'infra/3pp/tools/cmake/${{platform}}',
'version': Var('cmake_version'),
}],
+ 'condition': 'checkout_cmake',
'dep_type': 'cipd',
},
@@ -79,6 +95,7 @@
'package': 'infra/3pp/tools/go/${{platform}}',
'version': Var('go_version'),
}],
+ 'condition': 'checkout_go',
'dep_type': 'cipd',
},
@@ -101,6 +118,7 @@
'package': 'infra/3pp/tools/ninja/${{platform}}',
'version': Var('ninja_version'),
}],
+ 'condition': 'checkout_cmake',
'dep_type': 'cipd',
},
@@ -109,7 +127,7 @@
'package': 'infra/3pp/tools/perl/${{platform}}',
'version': Var('perl_version'),
}],
- 'condition': 'host_os == "win"',
+ 'condition': 'host_os == "win" and checkout_perl',
'dep_type': 'cipd',
},