|
|
@@ -57,16 +57,17 @@ Vagrant.configure("2") do |config| |
|
|
|
s.env = { LETSENCRYPT_EMAIL: ENV['LETSENCRYPT_EMAIL'] } |
|
|
|
s.privileged = false |
|
|
|
s.inline = <<-SHELL |
|
|
|
cd /vagrant |
|
|
|
# Copy shared bubble dir to ${HOME} |
|
|
|
rsync -a /vagrant ${HOME}/bubble |
|
|
|
|
|
|
|
# Initialize the system |
|
|
|
./bin/first_time_ubuntu.sh |
|
|
|
cd ${HOME}/bubble && ./bin/first_time_ubuntu.sh |
|
|
|
|
|
|
|
# Clone and build all dependencies |
|
|
|
SKIP_BUBBLE_BUILD=1 ./bin/first_time_setup.sh |
|
|
|
|
|
|
|
# Build the bubble jar |
|
|
|
BUBBLE_PRODUCTION=1 mvn -DskipTests=true -Dcheckstyle.skip=true -Pproduction clean package |
|
|
|
BUBBLE_PRODUCTION=1 mvn -DskipTests=true -Dcheckstyle.skip=true -Pproduction clean package 2>&1 | tee /tmp/build.log |
|
|
|
|
|
|
|
# Write bubble API port |
|
|
|
echo \"export BUBBLE_SERVER_PORT=${BUBBLE_PORT}\" > ~/.bubble.env |
|
|
|