Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/buildlet: always halt Mac VMs after builds, regardless of macOS v…
…ersion We used to do this only by necessity on Sierra, due to Sierra issues, but now that x/build/cmd/makemac is better, we can just do this all the time. Doing it always is better anyway, to guarantee fresh environments per build. Also add the forgotten sudo in the Mac halt. The env/darwin/macstadium/image-setup-notes.txt even calls out how to setup password-free sudo to the images, but then I forgot to use it. It only worked before (if it did?) because the process ended and failed its heartbeat, at least some of the time. It's also possible it was never working. The old reason that Sierra machines were special-cased to reboot was reportedly fixed anyway, in golang/go#18751 (comment). Updates golang/go#9495 Change-Id: Iea21d7bc07467429cde79f4212c2b91458f8d8d8 Reviewed-on: https://go-review.googlesource.com/82355 Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information