Use latest built assests to run test

This commit is contained in:
sophia 2020-08-31 16:25:19 -05:00
parent 903bff4940
commit 8d6bc662fb
3 changed files with 11 additions and 1 deletions

View File

@ -25,6 +25,16 @@ wrap aws s3 cp "${ASSETS_PRIVATE_BUCKET}/hashicorp/vagrant-spec/vagrant-spec.gem
"Could not download vagrant-spec.gem from s3 asset bucket"
###
# Grab vagrant installer place inside root dir of Vagrant repo
# TODO: Have this variable set
VAGRANT_INSTALLER_VERSION="2.2.11"
# TODO: Get release by reference
INSTALLER_URL=`curl -s https://api.github.com/repos/hashicorp/vagrant-installers/releases | jq -r --arg installer_name "vagrant_${VAGRANT_INSTALLER_VERSION}_x86_64.deb" '.[0].assets[] | select(.name == $installer_name) | .url'`
wrap curl -Lso ./vagrant_${VAGRANT_INSTALLER_VERSION}_x86_64.deb ${INSTALLER_URL} \
"Could not download vagrant installers"
###
# Run the job
echo "Creating vagrant spec guests..."

Binary file not shown.

View File

@ -8,7 +8,7 @@ apt-get install -qy nfs-kernel-server
pushd /vagrant
dpkg -i ./pkg/dist/vagrant_*_x86_64.deb
dpkg -i ./vagrant_*_x86_64.deb
vagrant plugin install ./vagrant-spec.gem
popd