Skip to content

Commit c2db94e

Browse files
Michael Eliasedwardmlyte
Michael Elias
authored andcommitted
Added build and upload to vagrant cloud script
1 parent d9819bc commit c2db94e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

scripts/build-and-upload.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
#Set up credentials
4+
export VAGRANT_CLOUD_ENDPOINT=https://app.vagrantup.com/api/v1
5+
export ATLAS_USERNAME=finkit
6+
export ATLAS_NAME=development-environment-base
7+
8+
set -e
9+
10+
cd c:/users/hashilocal/workspace/development-environment-base
11+
12+
git pull
13+
14+
#Validate
15+
packer validate development-environment-base.json
16+
17+
#Build and upload
18+
packer build -force -on-error=cleanup -parallel=false development-environment-base.json

0 commit comments

Comments
 (0)