cmd/makemac: add first security macOS trybot
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>
diff --git a/cmd/makemac/config.go b/cmd/makemac/config.go
index 742a090..826170c 100644
--- a/cmd/makemac/config.go
+++ b/cmd/makemac/config.go
@@ -21,11 +21,18 @@
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.
@@ -84,6 +91,15 @@
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.