backend/gce: disable automatic restart
This prevents a build instance from being restarted if Compute Engine
terminates is for any reason.
@@ -933,6 +933,7 @@ func (p *gceProvider) buildInstance(ctx gocontext.Context, startAttributes *Star
},
Scheduling: &compute.Scheduling{
Preemptible: p.ic.Preemptible,
+ AutomaticRestart: googleapi.Bool(false),
},
MachineType: machineType.SelfLink,
Name: hostname,
