blob: f54a076c8da2da5c8f578e8cdd45270595626594 [file] [log] [blame]
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 qemu.
After it completes, it creates a file openbsd-amd64-gce.tar.gz
Then:
gsutil cp -a public-read openbsd-amd64-gce.tar.gz gs://go-builder-data/openbsd-amd64-gce.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-56
gcloud compute --project symbolic-datum-552 images create openbsd-amd64-56 --source-uri gs://go-builder-data/openbsd-amd64-gce.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 == http://storage.googleapis.com/go-builder-data/buildlet.openbsd-amd64