ci: Set up docker to use Go vagrant too

This commit is contained in:
Paul Hinze 2022-04-22 16:54:59 -05:00
parent 6646cf50b4
commit 11a4664901
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
3 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,14 @@
#!/bin/bash
set -x
export VAGRANT_SPEC_DOCKER_IMAGE="${VAGRANT_SPEC_DOCKER_IMAGE}"
# Explicitly use Go binary
export VAGRANT_PATH=/vagrant/vagrant
# Explicitly set high open file limits... vagrant-ruby tends to run into the
# default 1024 limit during some operations.
ulimit -n 65535
vagrant-spec ${VAGRANT_SPEC_ARGS} --config /vagrant/test/vagrant-spec/configs/vagrant-spec.config.docker.rb
result=$?

View File

@ -1,5 +1,4 @@
#!/bin/bash
set -x
export VAGRANT_EXPERIMENTAL="${VAGRANT_EXPERIMENTAL:-1}"
export VAGRANT_SPEC_BOX="${VAGRANT_SPEC_BOX}"

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -xe
set -e
apt-get update
apt-get update -q
apt-get install -qq -y --force-yes curl apt-transport-https
apt-get purge -qq -y lxc-docker* || true
curl -sSL https://get.docker.com/ | sh