Use latest built assests to run test
This commit is contained in:
parent
903bff4940
commit
8d6bc662fb
@ -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..."
|
||||
|
||||
BIN
pkg/dist/vagrant_2.2.10_x86_64.deb
vendored
BIN
pkg/dist/vagrant_2.2.10_x86_64.deb
vendored
Binary file not shown.
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user