Generate shorter bucket names in luci-scheduler.cfg.

This is an ongoing LUCI config format migration.

R=jrprice@google.com

Change-Id: I12c2913b61f97ea1a4108ac9e5cc0b46f0be3765
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/79960
Auto-Submit: Vadim Shtayura <vadimsh@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison (use @chromium.org) <rharrison@google.com>
Commit-Queue: Ryan Harrison (use @chromium.org) <rharrison@google.com>
This commit is contained in:
Vadim Shtayura 2022-02-10 18:42:18 +00:00 committed by Tint LUCI CQ
parent 0b3dfef469
commit 3ce05348e7
3 changed files with 17 additions and 13 deletions

View File

@ -10,7 +10,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "linux-clang-dbg-x64" builder: "linux-clang-dbg-x64"
} }
} }
@ -20,7 +20,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "linux-clang-dbg-x86" builder: "linux-clang-dbg-x86"
} }
} }
@ -30,7 +30,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "linux-clang-rel-x64" builder: "linux-clang-rel-x64"
} }
} }
@ -40,7 +40,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "linux-clang-rel-x86" builder: "linux-clang-rel-x86"
} }
} }
@ -50,7 +50,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "mac-dbg" builder: "mac-dbg"
} }
} }
@ -60,7 +60,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "mac-rel" builder: "mac-rel"
} }
} }
@ -70,7 +70,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "win-clang-dbg-x64" builder: "win-clang-dbg-x64"
} }
} }
@ -80,7 +80,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "win-clang-dbg-x86" builder: "win-clang-dbg-x86"
} }
} }
@ -90,7 +90,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "win-clang-rel-x64" builder: "win-clang-rel-x64"
} }
} }
@ -100,7 +100,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "win-clang-rel-x86" builder: "win-clang-rel-x86"
} }
} }
@ -110,7 +110,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "win-msvc-dbg-x64" builder: "win-msvc-dbg-x64"
} }
} }
@ -120,7 +120,7 @@ job {
acl_sets: "ci" acl_sets: "ci"
buildbucket { buildbucket {
server: "cr-buildbucket.appspot.com" server: "cr-buildbucket.appspot.com"
bucket: "luci.tint.ci" bucket: "ci"
builder: "win-msvc-rel-x64" builder: "win-msvc-rel-x64"
} }
} }

View File

@ -7,8 +7,9 @@
name: "tint" name: "tint"
access: "group:all" access: "group:all"
lucicfg { lucicfg {
version: "1.30.4" version: "1.30.9"
package_dir: ".." package_dir: ".."
config_dir: "generated" config_dir: "generated"
entry_point: "main.star" entry_point: "main.star"
experiments: "crbug.com/1182002"
} }

View File

@ -8,6 +8,9 @@
main.star: lucicfg configuration for Tint's standalone builers. main.star: lucicfg configuration for Tint's standalone builers.
""" """
# Use LUCI Scheduler BBv2 names and add Scheduler realms configs.
lucicfg.enable_experiment("crbug.com/1182002")
luci.builder.defaults.experiments.set({ luci.builder.defaults.experiments.set({
"luci.recipes.use_python3": 100, "luci.recipes.use_python3": 100,
}) })