Download vagrant installer to pkg/dist
This commit is contained in:
parent
b6bdef28dd
commit
880ee30cbf
@ -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"
|
||||
###
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user