File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -569,8 +569,8 @@ func findWork(work chan<- builderRev) error {
569
569
continue
570
570
}
571
571
builder := bs .Builders [i ]
572
- if _ , ok := dashboard .Builders [builder ]; ! ok {
573
- // Not managed by the coordinator.
572
+ if builderInfo , ok := dashboard .Builders [builder ]; ! ok || builderInfo . TryOnly {
573
+ // Not managed by the coordinator, or a trybot-only one .
574
574
continue
575
575
}
576
576
br := builderRev {bs .Builders [i ], br .Revision }
@@ -582,8 +582,8 @@ func findWork(work chan<- builderRev) error {
582
582
583
583
// And to bootstrap new builders, see if we have any builders
584
584
// that the dashboard doesn't know about.
585
- for b := range dashboard .Builders {
586
- if knownToDashboard [b ] {
585
+ for b , builderInfo := range dashboard .Builders {
586
+ if builderInfo . TryOnly || knownToDashboard [b ] {
587
587
continue
588
588
}
589
589
for _ , rev := range goRevisions {
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ type BuildConfig struct {
28
28
29
29
IsReverse bool // if true, only use the reverse buildlet pool
30
30
RegularDisk bool // if true, use spinning disk instead of SSD
31
+ TryOnly bool // only used for trybots, and not regular builds
31
32
32
33
env []string // extra environment ("key=value") pairs
33
34
}
@@ -184,6 +185,7 @@ func init() {
184
185
})
185
186
addBuilder (BuildConfig {
186
187
Name : "all-compile" ,
188
+ TryOnly : true , // TODO: for speed, restrict this to builds not covered by other trybots
187
189
VMImage : "linux-buildlet-std" ,
188
190
machineType : "n1-highcpu-16" , // CPU-bound, uses it well.
189
191
Notes : "Runs buildall.sh to compile stdlib for all GOOS/GOARCH, but doesn't run any tests." ,
You can’t perform that action at this time.
0 commit comments