Add Gitea action for testing with Vagrant
Some checks failed
vagrant-up / vagrant-up (push) Failing after 0s
Some checks failed
vagrant-up / vagrant-up (push) Failing after 0s
This commit is contained in:
parent
ed8baac608
commit
5c4b7a185f
26
.gitea/workflows/vagrant-up.yml
Normal file
26
.gitea/workflows/vagrant-up.yml
Normal file
@ -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!'"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user