No action is required other than setting the BROOKLYN_VERSION:
environment variable in servers.yaml
to a -SNAPSHOT
version. For example:
env: BROOKLYN_VERSION: 0.9.0
You may proceed to use the Vagrantfile
as normal; vagrant up
, vagrant destroy
etc.
-dist.tar.gz
Set the BROOKLYN_VERSION:
environment variable in servers.yaml
to your current -SNAPSHOT
version. For example:
env: BROOKLYN_VERSION: 0.9.0
Set the INSTALL_FROM_LOCAL_DIST:
environment variable in servers.yaml
to true
. For example:
env: INSTALL_FROM_LOCAL_DIST: true
Copy your locally built -dist.tar.gz
archive to the same directory as the Vagrantfile (this directory is mounted in the Vagrant VM at /vagrant/
).
For example to copy a locally built 0.9.0-SNAPSHOT
dist:
cp ~/.m2/repository/org/apache/brooklyn/brooklyn-dist/0.9.0-SNAPSHOT/brooklyn-dist-0.9.0-SNAPSHOT-dist.tar.gz .
You may proceed to use the Vagrantfile
as normal; vagrant up
, vagrant destroy
etc.