There is a Vagrantfile in the base of the repository, that is pre-installed with all of the dependencies required to run flocker.
See the Vagrant documentation for more details.
There are several vagrant boxes.
To build one of the above boxes, run the build script in the corresponding directory. This will generate a flocker-<box>-<version>.box file.
gsutil cp -a public_read flocker-dev-$(python ../../setup.py --version).box gs://clusterhq-vagrant/
(If you’re uploading the tutorial box the image will be flocker-tutorial-... instead of flocker-dev-....)
It is possible to test this image locally before uploading. The build script generates metadata pointing a the locally built file, which can be used to add the box with the correct version:
vagrant box add vagrant/dev/flocker-dev.json
Then destroy and re-up that vagrant image.
It is also possible to build a vagrant image based on RPMs from a branch. If you pass a --branch argument to build, then it will use the RPMs from the latest build of that branch on Buildbot.