diff --git a/.github/workflows/vagrant-debian.yml b/.github/workflows/vagrant-debian.yml new file mode 100644 index 0000000..b87fd1c --- /dev/null +++ b/.github/workflows/vagrant-debian.yml @@ -0,0 +1,44 @@ + +name: vagrant-all + +on: [push] + +jobs: + vagrant-all: + runs-on: ubuntu-24.04 + defaults: + run: + working-directory: ./vagrant + + steps: + - name: add vagrant packages repo + uses: myci-actions/add-deb-repo@11 + with: + repo: deb https://apt.releases.hashicorp.com noble main + repo-name: vagrant + keys-asc: https://apt.releases.hashicorp.com/gpg + install: vagrant + + - name: checkout repo + uses: actions/checkout@v4 + + - name: install vagrant/qemu provider + uses: ConorMacBride/install-package@v1.1.0 + with: + apt: vagrant qemu-kvm virtualbox libvirt-daemon libvirt-daemon-driver-vbox + + - name: test Vagrantfile.debian11_64 + if: always() + run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian11_64 vagrant up --provision --provider=virtualbox + + - name: destroy Vagrantfile.debian11_64 + if: always() + run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian11_64 vagrant destroy -f + + - name: test Vagrantfile.debian12_64 + if: always() + run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian12_64 vagrant up --provision --provider=virtualbox + + - name: destroy Vagrantfile.debian12_64 + if: always() + run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian12_64 vagrant destroy -f diff --git a/.github/workflows/vagrant-all.yml b/.github/workflows/vagrant-mint.yml similarity index 71% rename from .github/workflows/vagrant-all.yml rename to .github/workflows/vagrant-mint.yml index dc068bb..d388f9f 100644 --- a/.github/workflows/vagrant-all.yml +++ b/.github/workflows/vagrant-mint.yml @@ -27,22 +27,6 @@ jobs: with: apt: vagrant qemu-kvm virtualbox libvirt-daemon libvirt-daemon-driver-vbox - - name: test Vagrantfile.debian11_64 - if: always() - run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian11_64 vagrant up --provision --provider=virtualbox - - - name: destroy Vagrantfile.debian11_64 - if: always() - run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian11_64 vagrant destroy -f - - - name: test Vagrantfile.debian12_64 - if: always() - run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian12_64 vagrant up --provision --provider=virtualbox - - - name: destroy Vagrantfile.debian12_64 - if: always() - run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.debian12_64 vagrant destroy -f - - name: test Vagrantfile.mint20_64 if: always() run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint20_64 vagrant up --provision --provider=virtualbox