Skip to content

Commit

Permalink
cmd/makemac: add first security macOS trybot
Browse files Browse the repository at this point in the history
For golang/go#67073.

Change-Id: Ic80c778a624b1f68b3407ba16fcbd2d1ce61c0dd
Reviewed-on: https://go-review.googlesource.com/c/build/+/582036
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
dmitshur authored and gopherbot committed May 3, 2024
1 parent d09f9c8 commit a705825
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions cmd/makemac/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ type swarmingConfig struct {
client swarming.Client
}

// Standard public swarming host.
var publicSwarming = &swarmingConfig{
Host: "chromium-swarm.appspot.com",
Pool: "luci.golang.shared-workers",
}
var (
// Public swarming host.
publicSwarming = &swarmingConfig{
Host: "chromium-swarm.appspot.com",
Pool: "luci.golang.shared-workers",
}
// Security swarming host.
internalSwarming = &swarmingConfig{
Host: "chrome-swarming.appspot.com",
Pool: "luci.golang.security-try-workers",
}
)

// imageConfig describes how many instances of a specific image type should
// exist.
Expand Down Expand Up @@ -84,6 +91,15 @@ var prodImageConfig = map[*swarmingConfig][]imageConfig{
MinCount: 10,
},
},
internalSwarming: {
{
Hostname: "darwin-amd64-14-security",
Cert: "secret:symbolic-datum-552/darwin-amd64-14-security-cert",
Key: "secret:symbolic-datum-552/darwin-amd64-14-security-key",
Image: "3ec96f33cf17c85bd6d1bbf122c327bc9e5c62620c3ef9ff63e2db4feebdd8da",
MinCount: 1, // in the process of being brought up
},
},
}

// imageConfigMap returns a map from imageConfig.Image to imageConfig.
Expand Down

0 comments on commit a705825

Please sign in to comment.