Run the dawn/roll_cts recipe on the cts-roller bot
Also, set the execution timeout to 9 hours and make it run only
once nightly.
Bug: dawn:1940
Change-Id: I8483f11d359fa174e701b95d590300c75f9f4052
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/148180
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/infra/config/global/generated/cr-buildbucket.cfg b/infra/config/global/generated/cr-buildbucket.cfg
index 6994bb4..c1bfa2e 100644
--- a/infra/config/global/generated/cr-buildbucket.cfg
+++ b/infra/config/global/generated/cr-buildbucket.cfg
@@ -35,12 +35,13 @@
dimensions: "os:Ubuntu-18.04"
dimensions: "pool:luci.flex.ci"
recipe {
- name: "dawn"
+ name: "dawn/roll_cts"
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
cipd_version: "refs/heads/main"
properties_j: "repo_name:\"dawn\""
properties_j: "runhooks:true"
}
+ execution_timeout_secs: 32400
caches {
name: "gocache"
path: "gocache"
diff --git a/infra/config/global/generated/luci-scheduler.cfg b/infra/config/global/generated/luci-scheduler.cfg
index ddc3e93..6aa7d07 100644
--- a/infra/config/global/generated/luci-scheduler.cfg
+++ b/infra/config/global/generated/luci-scheduler.cfg
@@ -18,7 +18,7 @@
job {
id: "cts-roller"
realm: "ci"
- schedule: "0 5,9 * * *"
+ schedule: "0 5 * * *"
acl_sets: "ci"
buildbucket {
server: "cr-buildbucket.appspot.com"
diff --git a/infra/config/global/main.star b/infra/config/global/main.star
index 6f4c1e4..cf21396 100755
--- a/infra/config/global/main.star
+++ b/infra/config/global/main.star
@@ -465,13 +465,14 @@
luci.builder(
name = "cts-roller",
bucket = "ci",
- # Run at 5 UTC and 9 UTC - which is 10pm PST and 5am EST
- schedule = "0 5,9 * * *",
+ # Run at 5 UTC - which is 10pm PST
+ schedule = "0 5 * * *",
executable = luci.recipe(
- name = "dawn", # TODO(dawn:1940): Replace with CTS roller recipe when ready.
+ name = "dawn/roll_cts",
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
cipd_version = "refs/heads/main",
),
+ execution_timeout = 9 * time.hour,
dimensions = {
"cpu": "x86-64",
"os": os.LINUX.dimension,