Add CQ to starlark branch Change-Id: I7b232a889b11f8dd8e51b1a12e9a82046a6a6964 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/24861 Reviewed-by: Takuto Ikuta <tikuta@google.com> Commit-Queue: Matt Stark <msta@google.com>
diff --git a/infra/config/generated/commit-queue.cfg b/infra/config/generated/commit-queue.cfg index 347e7d1..b4b30dc 100644 --- a/infra/config/generated/commit-queue.cfg +++ b/infra/config/generated/commit-queue.cfg
@@ -44,4 +44,38 @@ } } } +config_groups { + name: "gn-starlark" + gerrit { + url: "https://gn-review.googlesource.com" + projects { + name: "gn" + ref_regexp: "refs/heads/starlark" + } + } + verifiers { + gerrit_cq_ability { + committer_list: "project-gn-committers" + dry_run_access_list: "project-gn-tryjob-access" + } + tryjob { + builders { + name: "gn/try/linux-starlark" + } + builders { + name: "gn/try/mac-starlark" + } + builders { + name: "gn/try/win-starlark" + } + retry_config { + single_quota: 1 + global_quota: 2 + failure_weight: 1 + transient_failure_weight: 1 + timeout_weight: 2 + } + } + } +} gerrit_listener_type: GERRIT_LISTENER_TYPE_LEGACY_POLLER
diff --git a/infra/config/generated/cr-buildbucket.cfg b/infra/config/generated/cr-buildbucket.cfg index 02d42d8..7110816 100644 --- a/infra/config/generated/cr-buildbucket.cfg +++ b/infra/config/generated/cr-buildbucket.cfg
@@ -103,6 +103,20 @@ service_account: "gn-try-builder@chops-service-accounts.iam.gserviceaccount.com" } builders { + name: "linux-starlark" + swarming_host: "chromium-swarm.appspot.com" + dimensions: "cpu:x86-64" + dimensions: "os:Ubuntu-24.04" + dimensions: "pool:luci.flex.try" + recipe { + name: "gn" + cipd_package: "infra/recipe_bundles/gn.googlesource.com/gn" + cipd_version: "refs/heads/starlark" + } + execution_timeout_secs: 3600 + service_account: "gn-try-builder@chops-service-accounts.iam.gserviceaccount.com" + } + builders { name: "mac" swarming_host: "chromium-swarm.appspot.com" dimensions: "cpu:x86-64" @@ -121,6 +135,24 @@ service_account: "gn-try-builder@chops-service-accounts.iam.gserviceaccount.com" } builders { + name: "mac-starlark" + swarming_host: "chromium-swarm.appspot.com" + dimensions: "cpu:x86-64" + dimensions: "os:Mac-13" + dimensions: "pool:luci.flex.try" + recipe { + name: "gn" + cipd_package: "infra/recipe_bundles/gn.googlesource.com/gn" + cipd_version: "refs/heads/starlark" + } + execution_timeout_secs: 3600 + caches { + name: "macos_sdk" + path: "macos_sdk" + } + service_account: "gn-try-builder@chops-service-accounts.iam.gserviceaccount.com" + } + builders { name: "win" swarming_host: "chromium-swarm.appspot.com" dimensions: "cpu:x86-64" @@ -138,6 +170,24 @@ } service_account: "gn-try-builder@chops-service-accounts.iam.gserviceaccount.com" } + builders { + name: "win-starlark" + swarming_host: "chromium-swarm.appspot.com" + dimensions: "cpu:x86-64" + dimensions: "os:Windows-10" + dimensions: "pool:luci.flex.try" + recipe { + name: "gn" + cipd_package: "infra/recipe_bundles/gn.googlesource.com/gn" + cipd_version: "refs/heads/starlark" + } + execution_timeout_secs: 3600 + caches { + name: "windows_sdk" + path: "windows_sdk" + } + service_account: "gn-try-builder@chops-service-accounts.iam.gserviceaccount.com" + } } shadow: "try.shadow" }
diff --git a/infra/config/generated/project.cfg b/infra/config/generated/project.cfg index e5d8865..1deb890 100644 --- a/infra/config/generated/project.cfg +++ b/infra/config/generated/project.cfg
@@ -7,7 +7,7 @@ name: "gn" access: "group:all" lucicfg { - version: "1.46.0" + version: "1.46.3" package_dir: ".." config_dir: "generated" entry_point: "main.star"
diff --git a/infra/config/main.star b/infra/config/main.star index 7fcf3e8..09e218d 100755 --- a/infra/config/main.star +++ b/infra/config/main.star
@@ -220,3 +220,8 @@ ref = "refs/heads/main", suffix = "", ) + +setup_branch( + ref = "refs/heads/starlark", + suffix = "-starlark", +)