dashboard: limit telemetry builders
- The x/telemetry repo depends on slog which requires at least go1.20.
- A dependency is not supported on plan9.
Change-Id: Ia2e911c160b9aa33e91a28133fd21bf65a754d53
Reviewed-on: https://go-review.googlesource.com/c/build/+/495760
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 28f054b..c523eb1 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -1294,7 +1294,7 @@
// we only run them on servers and don't need to test the
// many different architectures that Go supports (like ios).
func linuxAmd64Repos(repo, branch, goBranch string) bool {
- if repo == "pkgsite-metrics" {
+ if repo == "pkgsite-metrics" || repo == "telemetry" {
return atLeastGo1(goBranch, 20)
}
return true
@@ -3469,7 +3469,7 @@
// both filesystem-intensive and unlikely to be relevant to plan9 users.
func plan9Default(repo, branch, goBranch string) bool {
switch repo {
- case "benchmarks":
+ case "benchmarks", "telemetry":
// Failure to build because of a dependency not supported on plan9.
return false
case "review":