diff --git a/.github/workflows/gating.yml b/.github/workflows/gating.yml index df58122a..d49e6fb1 100644 --- a/.github/workflows/gating.yml +++ b/.github/workflows/gating.yml @@ -12,7 +12,7 @@ env: jobs: audit-and-build: name: Audit and build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 container: image: fedora:latest @@ -57,7 +57,7 @@ jobs: unit-tests: name: Unit tests needs: audit-and-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -75,7 +75,7 @@ jobs: integration-tests: name: Integration tests needs: audit-and-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -83,10 +83,10 @@ jobs: - name: Install vagrant run: | sudo apt -y install apt-transport-https ca-certificates curl software-properties-common - wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg - echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list + wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list sudo apt update - sudo apt install vagrant vagrant-sshfs virtualbox + sudo apt install vagrant virtualbox - uses: actions/download-artifact@v4 with: @@ -94,7 +94,7 @@ jobs: path: dist - name: Run vagrant up - run: vagrant up --no-provision --provider=virtualbox + run: vagrant up --debug --no-provision --provider=virtualbox - name: Run vagrant provision run: vagrant provision diff --git a/Vagrantfile b/Vagrantfile index 954191d9..8320409c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,7 +3,7 @@ Vagrant.configure("2") do |config| config.vm.hostname = "server.ipa.demo" - config.vm.box = "fedora/39-cloud-base" + config.vm.box = "fedora/40-cloud-base" config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/usr/src/freeipa-webui" @@ -27,7 +27,7 @@ Vagrant.configure("2") do |config| # Virtualbox is used by the CI config.vm.provider "virtualbox" do |vb| - vb.memory = 2048 + vb.memory = 4096 # Before: 2048 end # Install system dependencies