dashboard: vulndb runs only on 1.18 (or greater)

Since the x/vulndb repo is for the Go team only, we
do not need to support older Go versions. So run only
on Go 1.18.

Change-Id: I6c62ab70a0354afe8bfc8150206947f05ebbffc4
Reviewed-on: https://go-review.googlesource.com/c/build/+/393638
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Jonathan Amsterdam 2022-03-17 15:28:35 -04:00
Родитель 92c279c688
Коммит 3ce8278702
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -1585,7 +1585,7 @@ func init() {
HostType: "host-linux-bullseye",
tryBot: defaultTrySet(),
buildsRepo: func(repo, branch, goBranch string) bool {
if repo == "vulndb" && atMostGo1(goBranch, 16) {
if repo == "vulndb" && atMostGo1(goBranch, 17) {
// The vulndb repo is for use only by the Go team,
// so it doesn't need to work on older Go versions.
return false

Просмотреть файл

@ -614,10 +614,10 @@ func TestBuilderConfig(t *testing.T) {
{b("linux-amd64-nocgo", "build"), none},
{b("linux-386-longtest", "build"), none},
// x/vulndb isn't tested on Go 1.16 and older.
{b("linux-amd64@go1.16", "vulndb"), none},
{b("linux-amd64@go1.17", "vulndb"), both},
{b("linux-amd64-longtest@go1.16", "vulndb"), none},
// x/vulndb isn't tested on Go 1.17 and older.
{b("linux-amd64@go1.17", "vulndb"), none},
{b("linux-amd64@go1.18", "vulndb"), both},
{b("linux-amd64-longtest@go1.17", "vulndb"), none},
{b("linux-amd64-longtest", "vulndb"), onlyPost},
{b("js-wasm", "build"), none},