aboutsummaryrefslogtreecommitdiff
path: root/infra/config/main.star
diff options
context:
space:
mode:
Diffstat (limited to 'infra/config/main.star')
-rwxr-xr-xinfra/config/main.star39
1 files changed, 3 insertions, 36 deletions
diff --git a/infra/config/main.star b/infra/config/main.star
index 7490a599..e83afe4f 100755
--- a/infra/config/main.star
+++ b/infra/config/main.star
@@ -8,24 +8,6 @@ lucicfg.check_version("1.30.9")
LIBYUV_GIT = "https://chromium.googlesource.com/libyuv/libyuv"
LIBYUV_GERRIT = "https://chromium-review.googlesource.com/libyuv/libyuv"
-GOMA_BACKEND_RBE_PROD = {
- "server_host": "goma.chromium.org",
- "use_luci_auth": True,
-}
-
-GOMA_BACKEND_RBE_ATS_PROD = {
- "server_host": "goma.chromium.org",
- "use_luci_auth": True,
- "enable_ats": True,
-}
-
-# Disable ATS on Windows CQ/try.
-GOMA_BACKEND_RBE_NO_ATS_PROD = {
- "server_host": "goma.chromium.org",
- "use_luci_auth": True,
- "enable_ats": False,
-}
-
RECLIENT_CI = {
"instance": "rbe-webrtc-trusted",
"metrics_project": "chromium-reclient-metrics",
@@ -80,7 +62,7 @@ luci.project(
],
bindings = [
luci.binding(
- roles = "role/swarming.taskTriggerer", # for LED tasks.
+ roles = "role/swarming.taskTriggerer", # for LED tasks.
groups = "project-libyuv-admins",
),
luci.binding(
@@ -218,19 +200,6 @@ def get_os_dimensions(os):
return {"os": "Ubuntu-18.04", "cores": "8", "cpu": "x86-64"}
return {}
-def get_os_properties(os, try_builder = False):
- if os == "android":
- return {"$build/goma": GOMA_BACKEND_RBE_PROD}
- elif os in ("ios", "mac"):
- return {"$build/goma": GOMA_BACKEND_RBE_PROD}
- elif os == "win" and try_builder:
- return {"$build/goma": GOMA_BACKEND_RBE_NO_ATS_PROD}
- elif os == "win":
- return {"$build/goma": GOMA_BACKEND_RBE_ATS_PROD}
- elif os == "linux":
- return {"$build/goma": GOMA_BACKEND_RBE_ATS_PROD}
- return {}
-
def libyuv_ci_builder(name, dimensions, properties, triggered_by):
return luci.builder(
name = name,
@@ -268,8 +237,7 @@ def libyuv_try_builder(name, dimensions, properties, recipe_name = "libyuv/libyu
def ci_builder(name, os, category, short_name = None):
dimensions = get_os_dimensions(os)
- properties = get_os_properties(os)
- properties["$build/reclient"] = RECLIENT_CI
+ properties = {"$build/reclient": RECLIENT_CI}
dimensions["pool"] = "luci.flex.ci"
properties["builder_group"] = "client.libyuv"
@@ -280,8 +248,7 @@ def ci_builder(name, os, category, short_name = None):
def try_builder(name, os, experiment_percentage = None):
dimensions = get_os_dimensions(os)
- properties = get_os_properties(os, try_builder = True)
- properties["$build/reclient"] = RECLIENT_CQ
+ properties = {"$build/reclient": RECLIENT_CQ}
dimensions["pool"] = "luci.flex.try"
properties["builder_group"] = "tryserver.libyuv"