env/linux-x86-bullseye, dashboard: add Debian Bullseye builder

This change adds the host-linux-bullseye host as well as the
configuration for the host. The linux-amd64-bullseye builder has been
added in this change as well.

Fixes golang/go#47720

Change-Id: I607f937133a0db3ed6a841f53dc7fef5e310a5a4
Reviewed-on: https://go-review.googlesource.com/c/build/+/342630
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 004f78a..00172f6 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -108,6 +108,13 @@
 // Hosts contains the names and configs of all the types of
 // buildlets. They can be VMs, containers, or dedicated machines.
 var Hosts = map[string]*HostConfig{
+	"host-linux-bullseye": &HostConfig{
+		Notes:           "Debian Bullseye",
+		ContainerImage:  "linux-x86-bullseye:latest",
+		buildletURLTmpl: "https://storage.googleapis.com/$BUCKET/buildlet.linux-amd64",
+		env:             []string{"GOROOT_BOOTSTRAP=/go1.4"},
+		SSHUsername:     "root",
+	},
 	"host-linux-buster": &HostConfig{
 		Notes:           "Debian Buster",
 		ContainerImage:  "linux-x86-buster:latest",
@@ -1892,6 +1899,14 @@
 		},
 	})
 	addBuilder(BuildConfig{
+		Name:     "linux-amd64-bullseye",
+		HostType: "host-linux-bullseye",
+		Notes:    "Debian Bullseye.",
+		env: []string{
+			"GO_DISABLE_OUTBOUND_NETWORK=1",
+		},
+	})
+	addBuilder(BuildConfig{
 		Name:     "linux-amd64-buster",
 		HostType: "host-linux-buster",
 		Notes:    "Debian Buster.",
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index 9cf52e4..b53f324 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -569,6 +569,7 @@
 		{b("linux-amd64-fedora", "build"), none},
 		{b("linux-amd64-clang", "build"), none},
 		{b("linux-amd64-sid", "build"), none},
+		{b("linux-amd64-bullseye", "build"), none},
 		{b("linux-amd64-nocgo", "build"), none},
 		{b("linux-386-longtest", "build"), none},
 		{b("js-wasm", "build"), none},