Skip to content

Commit a429dc1

Browse files
dmitshurgopherbot
authored andcommitted
maintner/maintnerd/maintapi: test x/website with Go 1.16 longer
Provide TryBot test coverage in x/website using Go 1.16 while that version is still used during its deployment. For golang/go#51800. Change-Id: I4b1361537a8af8322ec62c86891de46143758c4e Reviewed-on: https://go-review.googlesource.com/c/build/+/393858 Trust: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent 6ea17dd commit a429dc1

File tree

1 file changed

+8
-0
lines changed
  • maintner/maintnerd/maintapi

1 file changed

+8
-0
lines changed

maintner/maintnerd/maintapi/api.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,14 @@ func tryWorkItem(
209209
w.GoBranch = append(w.GoBranch, r.BranchName)
210210
w.GoVersion = append(w.GoVersion, &apipb.MajorMinor{Major: r.Major, Minor: r.Minor})
211211
}
212+
213+
// Test x/website with Go 1.16.15 in addition to the supportedReleases above.
214+
// TODO(go.dev/issue/51800): Remove this once x/website deployment is updated.
215+
if w.Project == "website" {
216+
w.GoCommit = append(w.GoCommit, "7de0c90a1771146bcba5663fb257c52acffe6161") // go1.16.15 tag.
217+
w.GoBranch = append(w.GoBranch, "release-branch.go1.16")
218+
w.GoVersion = append(w.GoVersion, &apipb.MajorMinor{Major: 1, Minor: 16})
219+
}
212220
} else {
213221
// A branch that is neither internal-branch.goX.Y-suffix nor "master":
214222
// maybe some custom branch like "dev.go2go".

0 commit comments

Comments
 (0)