From 628a334e2b014a88fdccea54f1a861022ae499b0 Mon Sep 17 00:00:00 2001 From: daemon1024 Date: Fri, 2 Jul 2021 23:04:12 +0530 Subject: [PATCH] update vagrant workflow --- .github/workflows/go-vagrant.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go-vagrant.yml b/.github/workflows/go-vagrant.yml index a52ed32bb8..0d9bd082b8 100644 --- a/.github/workflows/go-vagrant.yml +++ b/.github/workflows/go-vagrant.yml @@ -27,11 +27,9 @@ jobs: run: ssh-keygen -f $HOME/.ssh/id_rsa.pub -q -N "" - name: Run vagrant up - run: | - cd contribution/vagrant - vagrant up + run: VAGRANT_LOG=info vagrant up + working-directory: contribution/vagrant - name: Build & Test - run: | - cd contribution/vagrant - vagrant ssh -c "export GOPATH=\$HOME/go;export PATH=\$PATH:/usr/local/go/bin:\$HOME/go/bin;go env;cd KubeArmor/KubeArmor;make clean;make;cd ..;cd tests;kubectl proxy & ./test-scenarios-local.sh;cat /tmp/kubearmor.test" + run: vagrant ssh -c "export GOPATH=\$HOME/go;export PATH=\$PATH:/usr/local/go/bin:\$HOME/go/bin;export KUBECONFIG=\$HOME/.kube/config;cd KubeArmor/KubeArmor;make clean;make;cd ..;cd tests;nohup kubectl proxy & sleep 1;cat nohup.out;./test-scenarios-local.sh;cat /tmp/kubearmor.test" + working-directory: contribution/vagrant