Download vagrant installer to pkg/dist

This commit is contained in:
sophia 2020-09-01 11:37:48 -05:00
parent b6bdef28dd
commit 880ee30cbf
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ if [ -z "${VAGRANT_PRERELEASE_VERSION}" ]; then
else
INSTALLER_URL=`curl -s https://api.github.com/repos/hashicorp/vagrant-installers/releases/tags/${VAGRANT_PRERELEASE_VERSION} | jq -r '.assets[] | select(.name | contains("_x86_64.deb")) | .browser_download_url'`
fi
wrap wget ${INSTALLER_URL} \
wrap wget -P ${root}/pkg/dist ${INSTALLER_URL} \
"Could not download vagrant installers"
###

View File

@ -27,7 +27,7 @@ export PKT_VAGRANT_VAGRANTFILE=Vagrantfile.spec
echo "Running vagrant spec tests..."
# Need to make memory customizable for windows hosts
pkt_wrap_stream "vagrant up" \
pkt_wrap_stream "vagrant provision" \
"Vagrant Blackbox testing command failed"

View File

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