From aef8f7df825f48acb35db3f6b2af42f1911e1470 Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Thu, 17 Oct 2019 22:56:29 +0200 Subject: [PATCH] Run unit testing in Vagrant --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 0be4363..49c5608 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -55,6 +55,10 @@ Vagrant.configure('2') do |config| master.vm.hostname = "master" master.vm.network "private_network", ip: "#{ip_prefix}.130" + master.vm.provision "unit-testing", type: 'shell', inline: <<-SHELL + /vagrant/test/ufw-docker.test.sh + SHELL + master.vm.provision "docker-registry", type: 'docker' do |d| d.run "registry", image: "registry:2",