Skip to content

OSv Release Procedure

Asias He edited this page Jun 30, 2014 · 11 revisions

Make sure you have release tag checked out:

$ ./scripts/osv-version.sh 
v0.08

Clean up your working tree:

$ git clean -x -f -d

Update submodules:

$ git submodule update --init -f --recursive

Build Capstan images:

$ ./scripts/build-capstan-images

The command builds Capstan images in build/release/capstan.

Build standalone virtual machine images:

$ ./scripts/build-vm-images

The command builds standalone images in build/release/standalone.

Upload Capstan images:

$ ./scripts/upload-capstan-release

Upload standalone images:

$ ./scripts/upload-standalone-release

Upload OSv EC2 AMIs:

/~https://github.com/cloudius-systems/osv/wiki/Upload-OSv-AMI-from-EC2-instance

Finally, remember to update download links on the web site and in the wiki.

Upload OSv to Google Cloud Storage:

For example,

$ ls build/capstan/cloudius/osv-iperf
1) index.yaml
2) osv-iperf.gce.gz
3) osv-iperf.qemu.gz
4) osv-iperf.vbox.gz
5) osv-iperf.vmw.gz
6) osv-iperf.gce.tar.gz

Files 1) to 5) will be copied to s3 repo. File 6) will be uploaded to
Google Compute Engine.

$ zcat build/capstan/cloudius/osv-iperf/osv-iperf.gce.gz
gs://osv/v0.09-10-g140ac67/osv-iperf.gce.tar.gz

$ gsutil cp -a public-read build/capstan/cloudius/osv-iperf/osv-iperf.gce.tar.gz gs://osv/v0.09-10-g140ac67/osv-iperf.gce.tar.gz

We need to make a directory named 'v0.09-10-g140ac67' under gs://osv, and upload osv-iperf.gce.tar.gz to that directory.

Clone this wiki locally