blob: aeff1525b11edbc8957423c37ac43d06c17d6e92 [file]
make.bash creates a Google Compute Engine VM image to run the Go
OpenBSD builder, booting up to run the bootstrapswarm command.
make.bash should be run on a Linux box with expect and qemu.
Debian packages: expect qemu-utils qemu-system-x86 growisofs genisoimage.
VERSION=8.0 ARCH=amd64 ./make.bash
After it completes, it creates a file openbsd-${VERSION}-${ARCH}-gce.tar.gz.
Then:
go run golang.org/x/build/cmd/upload --verbose --file=openbsd-8.0-amd64-gce.tar.gz --public go-builder-data/openbsd-amd64-80.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-80
gcloud compute --project symbolic-datum-552 images create openbsd-amd64-80 --source-uri gs://go-builder-data/openbsd-amd64-80.tar.gz