dashboard: add darwin-amd64 AWS reverse builder

Used for AWS Mac prototyping.

For #48945.

Change-Id: Icd0d72ca1ad1b8d4dc6d843c4899d2207d8c6f9e
Reviewed-on: https://go-review.googlesource.com/c/build/+/430696
Reviewed-by: Jenny Rakoczy <jenny@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Michael Pratt 2022-09-13 16:03:19 -04:00
Родитель 7aa47dab70
Коммит 340f892197
3 изменённых файлов: 19 добавлений и 5 удалений

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

@ -158,14 +158,21 @@ var Hosts = map[string]*HostConfig{
"host-darwin-amd64-11_0": {
IsReverse: true,
ExpectNum: 5,
Notes: "MacStadium macOS Big Sur (11.0) VM under VMWare ESXi",
Notes: "MacStadium macOS Big Sur (11) VM under VMWare ESXi",
SSHUsername: "gopher",
HermeticReverse: true, // we destroy the VM when done & let cmd/makemac recreate
},
"host-darwin-amd64-12-aws": {
IsReverse: true,
ExpectNum: 1,
Notes: "AWS macOS Monterey (12)",
SSHUsername: "gopher",
HermeticReverse: true,
},
"host-darwin-amd64-12_0": {
IsReverse: true,
ExpectNum: 5,
Notes: "MacStadium macOS Monterey (12.0) VM under VMWare ESXi",
Notes: "MacStadium macOS Monterey (12) VM under VMWare ESXi",
SSHUsername: "gopher",
HermeticReverse: true, // we destroy the VM when done & let cmd/makemac recreate
},
@ -2293,6 +2300,13 @@ func init() {
distTestAdjust: noTestDirAndNoReboot,
env: []string{"CGO_ENABLED=0"},
})
addBuilder(BuildConfig{
Name: "darwin-amd64-12-aws",
HostType: "host-darwin-amd64-12-aws",
distTestAdjust: macTestPolicy,
buildsRepo: defaultPlusExpBuild,
KnownIssues: []int{48945},
})
addBuilder(BuildConfig{
Name: "darwin-arm64-11",
HostType: "host-darwin-arm64-11",

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

@ -918,7 +918,7 @@ func TestMiscCompileLinuxGOARM5(t *testing.T) {
func TestExpectedMacstadiumVMCount(t *testing.T) {
got := 0
for host, config := range Hosts {
if strings.HasPrefix(host, "host-darwin-10_") || strings.HasPrefix(host, "host-darwin-amd64-") {
if strings.HasPrefix(host, "host-darwin-amd64-") && !strings.HasSuffix(host, "-aws") {
got += config.ExpectNum
}
}

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

@ -3,7 +3,7 @@ Targets for release 1.18
darwin-amd64 darwin amd64 darwin-amd64-12_0
Race enabled
Extra env: ["CGO_CFLAGS=-mmacosx-version-min=10.13"]
Running on reverse builder: MacStadium macOS Monterey (12.0) VM under VMWare ESXi
Running on reverse builder: MacStadium macOS Monterey (12) VM under VMWare ESXi
darwin-arm64 darwin arm64 darwin-arm64-12
Race enabled
@ -55,7 +55,7 @@ Targets for release 1.19
darwin-amd64 darwin amd64 darwin-amd64-12_0
Race enabled
Extra env: ["CGO_CFLAGS=-mmacosx-version-min=10.13"]
Running on reverse builder: MacStadium macOS Monterey (12.0) VM under VMWare ESXi
Running on reverse builder: MacStadium macOS Monterey (12) VM under VMWare ESXi
darwin-arm64 darwin arm64 darwin-arm64-12
Race enabled