From c032f25f6dc0016211df31586fafab2e67dcd420 Mon Sep 17 00:00:00 2001 From: Seth Thomas Date: Thu, 29 Sep 2016 15:15:43 -0400 Subject: [PATCH] Updating build.sh with more env vars --- build.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 2345ede3c..41ec0eb6c 100644 --- a/build.sh +++ b/build.sh @@ -65,16 +65,23 @@ echo "--- Cleaning up after Packer" rake clean echo "--- Build $PLATFORM-$BENTO_PROVIDERS" -rake build_box[$PLATFORM] +./bin/bento build --headless --version $BENTO_VERSION --only $BENTO_PROVIDERS $PLATFORM echo "--- Test $PLATFORM-$BENTO_PROVIDERS" -rake test_all +if [ "$BENTO_TEST_SHARED_FOLDER" -eq 1 ] +then + echo "--- Testing Shared Folder Support" + ./bin/bento test -f +else + echo "--- NOT Testing Shared Folder Support" + ./bin/bento test +fi if [ "$BENTO_UPLOAD" -eq 1 ] then echo "--- Upload Boxes to Atlas and S3" - rake upload_all + ./bin/bento upload echo "--- Release Boxes on Atlas" - rake release_all + ./bin/bento release $ATLAS_NAME $BENTO_VERSION fi