From 1c378c84c03c080e54b9e1bfa6d95cb233201ed5 Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Sun, 12 May 2024 16:09:41 -0600 Subject: [PATCH] Downgrade VirtualBox in package build CI workflows The latest version of Vagrant doesn't support the newest version of VirtualBox yet. This sets it to the latest working version. --- .github/workflows/test-am-debs.yml | 5 +++++ .github/workflows/test-am-rpms.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/test-am-debs.yml b/.github/workflows/test-am-debs.yml index 8c38c83e..c6b2c81e 100644 --- a/.github/workflows/test-am-debs.yml +++ b/.github/workflows/test-am-debs.yml @@ -96,6 +96,11 @@ jobs: wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list sudo apt update && sudo apt install virtualbox-7.0 + - name: "Downgrade VirtualBox" + run: | + sudo apt-get purge virtualbox-7.0 + wget -O /tmp/virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb -L https://download.virtualbox.org/virtualbox/7.0.14/virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb + sudo dpkg -i /tmp/virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb - name: Install the vagrant-vbguest plugin run: | vagrant plugin install vagrant-vbguest diff --git a/.github/workflows/test-am-rpms.yml b/.github/workflows/test-am-rpms.yml index e373b977..d8d1b480 100644 --- a/.github/workflows/test-am-rpms.yml +++ b/.github/workflows/test-am-rpms.yml @@ -96,6 +96,11 @@ jobs: wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list sudo apt update && sudo apt install virtualbox-7.0 + - name: "Downgrade VirtualBox" + run: | + sudo apt-get purge virtualbox-7.0 + wget -O /tmp/virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb -L https://download.virtualbox.org/virtualbox/7.0.14/virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb + sudo dpkg -i /tmp/virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb - name: Install the vagrant-vbguest plugin run: | vagrant plugin install vagrant-vbguest