Skip to content

Commit

Permalink
split distro families to separate runners
Browse files Browse the repository at this point in the history
  • Loading branch information
cleary committed Oct 1, 2024
1 parent 3d45cef commit d4c8f62
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 16 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/vagrant-debian.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4c8f62

Please sign in to comment.