summaryrefslogtreecommitdiff
path: root/chromium/infra/config/subprojects/codesearch
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-29 10:46:47 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-02 12:02:10 +0000
commit99677208ff3b216fdfec551fbe548da5520cd6fb (patch)
tree476a4865c10320249360e859d8fdd3e01833b03a /chromium/infra/config/subprojects/codesearch
parentc30a6232df03e1efbd9f3b226777b07e087a1122 (diff)
downloadqtwebengine-chromium-99677208ff3b216fdfec551fbe548da5520cd6fb.tar.gz
BASELINE: Update Chromium to 86.0.4240.124
Change-Id: Ide0ff151e94cd665ae6521a446995d34a9d1d644 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/infra/config/subprojects/codesearch')
-rw-r--r--chromium/infra/config/subprojects/codesearch/README.md4
-rw-r--r--chromium/infra/config/subprojects/codesearch/codesearch.star72
-rw-r--r--chromium/infra/config/subprojects/codesearch/consoles/luci.chromium.codesearch.star15
-rw-r--r--chromium/infra/config/subprojects/codesearch/subproject.star6
4 files changed, 97 insertions, 0 deletions
diff --git a/chromium/infra/config/subprojects/codesearch/README.md b/chromium/infra/config/subprojects/codesearch/README.md
new file mode 100644
index 00000000000..7f45bb2b853
--- /dev/null
+++ b/chromium/infra/config/subprojects/codesearch/README.md
@@ -0,0 +1,4 @@
+Definitions of LUCI entities that test codesearch with chromium.
+
+* consoles - Manually curated consoles for codesearch subproject builders.
+* codesearch.star - Builders that test codesearch with chromium.
diff --git a/chromium/infra/config/subprojects/codesearch/codesearch.star b/chromium/infra/config/subprojects/codesearch/codesearch.star
new file mode 100644
index 00000000000..b620e67c09c
--- /dev/null
+++ b/chromium/infra/config/subprojects/codesearch/codesearch.star
@@ -0,0 +1,72 @@
+# Copyright 2020 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+load("//lib/builders.star", "cpu", "goma", "os")
+load("//lib/try.star", "try_")
+
+luci.bucket(
+ name = "codesearch",
+ acls = [
+ acl.entry(
+ roles = acl.BUILDBUCKET_READER,
+ groups = "all",
+ ),
+ acl.entry(
+ roles = acl.BUILDBUCKET_TRIGGERER,
+ groups = "project-chromium-tryjob-access",
+ ),
+ acl.entry(
+ roles = acl.BUILDBUCKET_OWNER,
+ groups = "service-account-chromium-tryserver",
+ ),
+ ],
+)
+
+try_.defaults.bucket.set("codesearch")
+try_.defaults.build_numbers.set(True)
+try_.defaults.builder_group.set("tryserver.chromium.codesearch")
+try_.defaults.builderless.set(True)
+try_.defaults.cores.set(8)
+try_.defaults.cpu.set(cpu.X86_64)
+try_.defaults.cq_group.set("cq")
+try_.defaults.executable.set("recipe:chromium_codesearch")
+try_.defaults.execution_timeout.set(9 * time.hour)
+try_.defaults.expiration_timeout.set(2 * time.hour)
+try_.defaults.goma_backend.set(goma.backend.RBE_PROD)
+try_.defaults.os.set(os.LINUX_DEFAULT)
+try_.defaults.pool.set("luci.chromium.try")
+try_.defaults.service_account.set("chromium-try-builder@chops-service-accounts.iam.gserviceaccount.com")
+try_.defaults.swarming_tags.set(["vpython:native-python-wrapper"])
+
+try_.defaults.caches.set([
+ swarming.cache(
+ name = "win_toolchain",
+ path = "win_toolchain",
+ ),
+])
+
+try_.builder(
+ name = "gen-android-try",
+)
+
+try_.builder(
+ name = "gen-chromiumos-try",
+)
+
+try_.builder(
+ name = "gen-fuchsia-try",
+)
+
+try_.builder(
+ name = "gen-lacros-try",
+)
+
+try_.builder(
+ name = "gen-linux-try",
+)
+
+try_.builder(
+ name = "gen-win-try",
+ os = os.WINDOWS_10,
+)
diff --git a/chromium/infra/config/subprojects/codesearch/consoles/luci.chromium.codesearch.star b/chromium/infra/config/subprojects/codesearch/consoles/luci.chromium.codesearch.star
new file mode 100644
index 00000000000..2ffecb13a68
--- /dev/null
+++ b/chromium/infra/config/subprojects/codesearch/consoles/luci.chromium.codesearch.star
@@ -0,0 +1,15 @@
+# Copyright 2020 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+luci.list_view(
+ name = "luci.chromium.codesearch",
+ entries = [
+ "codesearch/gen-android-try",
+ "codesearch/gen-chromiumos-try",
+ "codesearch/gen-fuchsia-try",
+ "codesearch/gen-lacros-try",
+ "codesearch/gen-linux-try",
+ "codesearch/gen-win-try",
+ ],
+)
diff --git a/chromium/infra/config/subprojects/codesearch/subproject.star b/chromium/infra/config/subprojects/codesearch/subproject.star
new file mode 100644
index 00000000000..6532b788267
--- /dev/null
+++ b/chromium/infra/config/subprojects/codesearch/subproject.star
@@ -0,0 +1,6 @@
+# Copyright 2020 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+exec("./codesearch.star")
+exec("./consoles/luci.chromium.codesearch.star")