Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating build.sh with more env vars #672

Merged
merged 1 commit into from
Sep 29, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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