Skip to content

Commit

Permalink
update vagrant workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daemon1024 committed Jul 2, 2021
1 parent ff0d2ab commit 628a334
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/go-vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 628a334

Please sign in to comment.