зеркало из https://github.com/golang/build.git
798078114f
OpenBSD 7.6 has been released, meaning that the only two supported versions are 7.5 and 7.6. Update the image build script for 7.6. Additionally, bump the maxproc limit for the swarming user, which will hopefully reduce the number of failures due to fork/exec returning EAGAIN. Updates golang/go#66474 Updates golang/go#69823 Change-Id: Ie2667de2defefbb6a56adca3dec92d7663c615e4 Reviewed-on: https://go-review.googlesource.com/c/build/+/618895 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> |
||
---|---|---|
.. | ||
.gitignore | ||
README | ||
make.bash |
README
make.bash creates a Google Compute Engine VM image to run the Go OpenBSD builder, booting up to run the buildlet. make.bash should be run on a Linux box with expect and qemu. Debian packages: expect qemu-utils qemu-system-x86 growisofs genisoimage. VERSION=7.6 ARCH=amd64 ./make.bash After it completes, it creates a file openbsd-${VERSION}-${ARCH}-gce.tar.gz Then: gsutil cp -a public-read openbsd-7.6-amd64-gce.tar.gz gs://go-builder-data/openbsd-amd64-76.tar.gz Or just use the web UI at: https://console.developers.google.com/project/symbolic-datum-552/storage/browser/go-builder-data/ Then: gcloud compute --project symbolic-datum-552 images delete openbsd-amd64-76 gcloud compute --project symbolic-datum-552 images create openbsd-amd64-76 --source-uri gs://go-builder-data/openbsd-amd64-76.tar.gz The VM needs to be run with the GCE metadata attribute "buildlet-binary-url" set to a URL of the OpenBSD buildlet (cross-compiled, typically). buildlet-binary-url == https://storage.googleapis.com/go-builder-data/buildlet.openbsd-amd64