Skip to content

Commit

Permalink
Don't build optional docker containers in vagrant
Browse files Browse the repository at this point in the history
Only build containers needed for tests, in order to speed up vagrant
provisioning. The optional docker containers are just for convenience
and not required by tests.

Signed-off-by: Roman Mohr <[email protected]>
  • Loading branch information
rmohr authored and Travis CI committed Jan 15, 2018
1 parent 8dff48f commit a579441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/vagrant/provider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function build() {
make build manifests
for VM in $(vagrant status | grep -v "^The Libvirt domain is running." | grep running | cut -d " " -f1); do
vagrant rsync $VM # if you do not use NFS
vagrant ssh $VM -c "cd /vagrant && export DOCKER_TAG=${docker_tag} && sudo -E hack/build-docker.sh build && sudo -E hack/build-docker.sh build optional"
vagrant ssh $VM -c "cd /vagrant && export DOCKER_TAG=${docker_tag} && sudo -E hack/build-docker.sh build"
done
}

Expand Down

0 comments on commit a579441

Please sign in to comment.