all: add release-branch.go1.20 view and poller
Change-Id: I19d7f98c70b0533e025fa92f228882ca04004a9f
Reviewed-on: https://go-review.googlesource.com/c/build/+/464155
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Bypass: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
diff --git a/generated/luci-milo.cfg b/generated/luci-milo.cfg
index 16cea8d..0a85321 100644
--- a/generated/luci-milo.cfg
+++ b/generated/luci-milo.cfg
@@ -14,7 +14,7 @@
}
consoles {
id: "go-master-ci"
- name: "Go main branch continuous integration"
+ name: "master"
repo_url: "https://go.googlesource.com/go"
refs: "regexp:refs/heads/master"
manifest_name: "REVISION"
@@ -23,3 +23,14 @@
category: "linux"
}
}
+consoles {
+ id: "go-release-1-20-ci"
+ name: "release-branch.go1.20"
+ repo_url: "https://go.googlesource.com/go"
+ refs: "regexp:refs/heads/release-branch.go1.20"
+ manifest_name: "REVISION"
+ builders {
+ name: "buildbucket/luci.golang.ci/linux-amd64"
+ category: "linux"
+ }
+}
diff --git a/generated/luci-scheduler.cfg b/generated/luci-scheduler.cfg
index 1399b2c..2eaaa89 100644
--- a/generated/luci-scheduler.cfg
+++ b/generated/luci-scheduler.cfg
@@ -50,3 +50,12 @@
refs: "regexp:refs/heads/master"
}
}
+trigger {
+ id: "go-release-1-20-trigger"
+ realm: "ci"
+ triggers: "linux-amd64"
+ gitiles {
+ repo: "https://go.googlesource.com/go"
+ refs: "regexp:refs/heads/release-branch.go1.20"
+ }
+}
diff --git a/generated/project.cfg b/generated/project.cfg
index 2104512..62b020a 100644
--- a/generated/project.cfg
+++ b/generated/project.cfg
@@ -7,7 +7,7 @@
name: "golang"
access: "group:googlers"
lucicfg {
- version: "1.37.0"
+ version: "1.37.2"
package_dir: ".."
config_dir: "generated"
entry_point: "main.star"
diff --git a/main.star b/main.star
index ad04387..5b55dc7 100755
--- a/main.star
+++ b/main.star
@@ -113,7 +113,7 @@
luci.console_view(
name = "go-master-ci",
repo = "https://go.googlesource.com/go",
- title = "Go main branch continuous integration",
+ title = "master",
refs = ["refs/heads/master"],
entries = [
luci.console_view_entry(
@@ -123,6 +123,20 @@
],
)
+# A console for CI builders.
+luci.console_view(
+ name = "go-release-1-20-ci",
+ repo = "https://go.googlesource.com/go",
+ title = "release-branch.go1.20",
+ refs = ["refs/heads/release-branch.go1.20"],
+ entries = [
+ luci.console_view_entry(
+ builder = "linux-amd64",
+ category = "linux",
+ ),
+ ],
+)
+
# Basic linux/amd64 CI builder.
luci.builder(
name = "linux-amd64",
@@ -152,4 +166,13 @@
triggers = ["linux-amd64"],
)
+# Poller for the 'release-branch.go1.20' branch for the main Go repository.
+luci.gitiles_poller(
+ name = "go-release-1-20-trigger",
+ bucket = "ci",
+ repo = "https://go.googlesource.com/go",
+ refs = ["refs/heads/release-branch.go1.20"],
+ triggers = ["linux-amd64"],
+)
+
exec("./recipes.star")