Wrap up s3 command to stop on missing gem

This commit is contained in:
Brian Cain 2020-07-09 11:09:47 -07:00 committed by sophia
parent 9a9c9ec80c
commit 8cf76ce01b

View File

@ -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