Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run AM vagrant box workflow in Ubuntu 24.04 #364

Open
wants to merge 2 commits into
base: qa/1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/vagrant-box-archivematica.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
vagrant-box-archivematica:
name: Build and upload
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PACKER_CACHE_DIR: ${{ github.workspace }}/.packer_cache
steps:
Expand All @@ -26,12 +26,11 @@ jobs:
run: |
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 $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
sudo apt update && sudo apt install virtualbox-7.0
- name: "Downgrade VirtualBox"
sudo apt update && sudo apt install virtualbox-7.1
- name: Set the user environment as VirtualBox expects it
run: |
sudo apt-get purge virtualbox-7.0
wget -O /tmp/virtualbox-7.0_7.0.14-161095~Ubuntu~focal_amd64.deb -L https://download.virtualbox.org/virtualbox/7.0.14/virtualbox-7.0_7.0.14-161095~Ubuntu~focal_amd64.deb
sudo dpkg -i /tmp/virtualbox-7.0_7.0.14-161095~Ubuntu~focal_amd64.deb
echo "USER=$USER" >> $GITHUB_ENV
echo "LOGNAME=$USER" >> $GITHUB_ENV
- name: Install packer plugins
run: |
packer plugins install github.com/hashicorp/virtualbox
Expand Down
2 changes: 1 addition & 1 deletion packer/scripts/ubuntu/ansible-focal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apt-get upgrade -y
apt-get install -y python3-dev curl git net-tools acl

curl -s https://bootstrap.pypa.io/pip/get-pip.py | python3.8
pip install ansible==2.9.10 jmespath Jinja2==3.0.3
pip install ansible jmespath Jinja2==3.0.3

mkdir -p /etc/ansible

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# archivematica-src role

archivematica_src_am_version: "v1.16.0"
archivematica_src_ss_version: "v0.22.0"
archivematica_src_am_version: "v1.17.0"
archivematica_src_ss_version: "v0.23.0"

archivematica_src_ss_db_name: "SS"
archivematica_src_ss_db_user: "ss"
Expand Down
Loading