Wrap up s3 command to stop on missing gem
This commit is contained in:
parent
9a9c9ec80c
commit
8cf76ce01b
@ -22,7 +22,8 @@ export PKT_VAGRANT_VAGRANTFILE=Vagrantfile.spec
|
||||
|
||||
# Grab vagrant-spec gem and place inside root dir of Vagrant repo
|
||||
# TODO put back the wrap and error message below
|
||||
aws s3 cp "${ASSETS_PRIVATE_BUCKET}/vagrant-spec/vagrant-spec.gem" "vagrant-spec.gem"
|
||||
wrap aws s3 cp "${ASSETS_PRIVATE_BUCKET}/vagrant-spec/vagrant-spec.gem" "vagrant-spec.gem" \
|
||||
"Could not download vagrant-spec.gem from s3 asset bucket"
|
||||
###
|
||||
|
||||
# Run the job
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user