Add a try builder to run boringssl presubmits This adds a CQ builder that runs the "presubmit" recipe, which will run the checks in infra/config/PRESUBMIT.py on CQ. This will help prevent lucicfg validation errors from landing. Change-Id: I440156ea61b140bda143fb210635d6d064f6d400 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/80647 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> Auto-Submit: Lily Chen <chlily@google.com>
diff --git a/infra/config/generated/commit-queue.cfg b/infra/config/generated/commit-queue.cfg index a3eae35..df7e24f 100644 --- a/infra/config/generated/commit-queue.cfg +++ b/infra/config/generated/commit-queue.cfg
@@ -96,6 +96,9 @@ name: "boringssl/try/android_riscv64_compile_only" } builders { + name: "boringssl/try/boringssl_presubmit" + } + builders { name: "boringssl/try/docs" } builders {
diff --git a/infra/config/generated/cr-buildbucket.cfg b/infra/config/generated/cr-buildbucket.cfg index 58b2ae1..a988713 100644 --- a/infra/config/generated/cr-buildbucket.cfg +++ b/infra/config/generated/cr-buildbucket.cfg
@@ -2676,6 +2676,29 @@ } } builders { + name: "boringssl_presubmit" + swarming_host: "chromium-swarm.appspot.com" + dimensions: "cpu:x86-64" + dimensions: "os:Ubuntu-22.04" + dimensions: "pool:luci.flex.try" + exe { + cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" + cipd_version: "refs/heads/main" + cmd: "luciexe" + } + properties: + '{' + ' "recipe": "presubmit",' + ' "repo_name": "boringssl"' + '}' + execution_timeout_secs: 1800 + service_account: "boringssl-try-builder@chops-service-accounts.iam.gserviceaccount.com" + experiments { + key: "luci.recipes.use_python3" + value: 100 + } + } + builders { name: "docs" swarming_host: "chromium-swarm.appspot.com" dimensions: "cpu:x86-64"
diff --git a/infra/config/main.star b/infra/config/main.star index 6cbe93c..2456ab2 100755 --- a/infra/config/main.star +++ b/infra/config/main.star
@@ -347,6 +347,15 @@ # properties rather than parsing names. Then we can add new configurations # without having to touch multiple repositories. +cq_builder( + "boringssl_presubmit", + LINUX_HOST, + recipe = "presubmit", + properties = { + "repo_name": "boringssl", + }, +) + both_builders( "android_aarch64", WALLEYE_HOST,