diff --git a/.gitea/workflows/vagrant-up.yml b/.gitea/workflows/vagrant-up.yml new file mode 100644 index 0000000..fc0bb92 --- /dev/null +++ b/.gitea/workflows/vagrant-up.yml @@ -0,0 +1,26 @@ +name: vagrant-up + +on: [push] + +jobs: + vagrant-up: + runs-on: ubuntu-latest + container: + image: git.plantroon.com/plantroon/vbox-vagrant:7.0.6 + privileged: true + volumes: + - /dev/vboxdrv:/dev/vboxdrv + + steps: + - name: Get wget and git + run: apt update && apt install -y wget git nodejs + + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Run vagrant up + run: vagrant up --provider=virtualbox + + - name: ssh into box after boot + run: vagrant ssh -c "echo 'hello world!'" +