mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-09 10:16:46 +08:00
infra/config: disable ats on windows CQ
This is to align with WebRTC https://crbug.com/1242822#c8 Bug: chromium:1242822 Change-Id: Ifadf09f2ab3340ba9e27e51b5be86ff04d11f15d Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3115040 Reviewed-by: Mirko Bonadei <mbonadei@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
This commit is contained in:
parent
a1685d8fa8
commit
a2281fec0d
@ -1273,7 +1273,7 @@ buckets {
|
||||
name: "libyuv/libyuv"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/master"
|
||||
properties_j: "$build/goma:{\"enable_ats\":true,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "$build/goma:{\"enable_ats\":false,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "builder_group:\"tryserver.libyuv\""
|
||||
}
|
||||
execution_timeout_secs: 10800
|
||||
@ -1296,7 +1296,7 @@ buckets {
|
||||
name: "libyuv/libyuv"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/master"
|
||||
properties_j: "$build/goma:{\"enable_ats\":true,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "$build/goma:{\"enable_ats\":false,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "builder_group:\"tryserver.libyuv\""
|
||||
}
|
||||
execution_timeout_secs: 10800
|
||||
@ -1319,7 +1319,7 @@ buckets {
|
||||
name: "libyuv/libyuv"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/master"
|
||||
properties_j: "$build/goma:{\"enable_ats\":true,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "$build/goma:{\"enable_ats\":false,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "builder_group:\"tryserver.libyuv\""
|
||||
}
|
||||
execution_timeout_secs: 10800
|
||||
@ -1342,7 +1342,7 @@ buckets {
|
||||
name: "libyuv/libyuv"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/master"
|
||||
properties_j: "$build/goma:{\"enable_ats\":true,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "$build/goma:{\"enable_ats\":false,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "builder_group:\"tryserver.libyuv\""
|
||||
}
|
||||
execution_timeout_secs: 10800
|
||||
@ -1365,7 +1365,7 @@ buckets {
|
||||
name: "libyuv/libyuv"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/master"
|
||||
properties_j: "$build/goma:{\"enable_ats\":true,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "$build/goma:{\"enable_ats\":false,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "builder_group:\"tryserver.libyuv\""
|
||||
}
|
||||
execution_timeout_secs: 10800
|
||||
@ -1388,7 +1388,7 @@ buckets {
|
||||
name: "libyuv/libyuv"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/master"
|
||||
properties_j: "$build/goma:{\"enable_ats\":true,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "$build/goma:{\"enable_ats\":false,\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true}"
|
||||
properties_j: "builder_group:\"tryserver.libyuv\""
|
||||
}
|
||||
execution_timeout_secs: 10800
|
||||
|
||||
13
main.star
13
main.star
@ -19,6 +19,13 @@ GOMA_BACKEND_RBE_ATS_PROD = {
|
||||
"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,
|
||||
}
|
||||
|
||||
# Enable LUCI Realms support.
|
||||
lucicfg.enable_experiment("crbug.com/1085650")
|
||||
# Launch all builds in "realms-aware mode", crbug.com/1203285.
|
||||
@ -187,11 +194,13 @@ def get_os_dimensions(os):
|
||||
return {"os": "Ubuntu-18.04", "cores": "8", "cpu": "x86-64"}
|
||||
return {}
|
||||
|
||||
def get_os_properties(os):
|
||||
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":
|
||||
@ -244,7 +253,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)
|
||||
properties = get_os_properties(os, try_builder=True)
|
||||
|
||||
dimensions["pool"] = "luci.flex.try"
|
||||
properties["builder_group"] = "tryserver.libyuv"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user