Skip to content

explicitly install vagrant after adding #15

explicitly install vagrant after adding

explicitly install vagrant after adding #15

Workflow file for this run

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 [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com noble main
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
- name: test Vagrantfile.mint20_64
if: always()
run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint20_64 vagrant up --provision --provider=virtualbox
- name: destroy Vagrantfile.mint20_64
if: always()
run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint20_64 vagrant destroy -f
- name: test Vagrantfile.mint21_64
if: always()
run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint21_64 vagrant up --provision --provider=virtualbox
- name: destroy Vagrantfile.mint21_64
if: always()
run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint21_64 vagrant destroy -f
- name: test Vagrantfile.mint22_64
if: always()
run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint22_64 vagrant up --provision --provider=virtualbox
- name: destroy Vagrantfile.mint22_64
if: always()
run: sudo VAGRANT_VAGRANTFILE=Vagrantfile.mint22_64 vagrant destroy -f