Skip to content

Commit

Permalink
Start testing on Ubuntu 24.04 runners.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Nov 17, 2024
1 parent ddcb26d commit 59752eb
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/run-partial-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: tests/run-partial-tests.sh
run-name: tests/run-partial-tests.sh${{ github.event_name == 'workflow_dispatch' && ! inputs.full && format(' Dockerfile.{0} with {1}', inputs.os, inputs.docker) || ' all' }} @ ${{ inputs.runs-on == '' && 'ubuntu-24.04' || inputs.runs-on }}

on:
schedule:
Expand All @@ -19,10 +20,17 @@ on:
options:
- docker
- podman
runs-on:
description: Host Ubuntu version
type: choice
options:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04

jobs:
gen-matrix:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
matrix: ${{ steps.dispatch-matrix.outputs.matrix }}${{ steps.default-matrix.outputs.matrix }}
Expand All @@ -46,7 +54,7 @@ jobs:
if: github.event_name == 'workflow_dispatch' && ! inputs.full

test:
runs-on: ${{ matrix.runs-on || 'ubuntu-22.04' }}
runs-on: ${{ inputs.runs-on || 'ubuntu-24.04' }}
needs: [ gen-matrix ]
strategy:
fail-fast: false
Expand All @@ -56,9 +64,9 @@ jobs:
- uses: actions/checkout@v4
- name: Install podman 4.*
uses: ./.github/actions/install-podman-4
if: matrix.docker == 'podman' && matrix.runs-on != 'ubuntu-20.04'
if: matrix.docker == 'podman' && inputs.runs-on == 'ubuntu-22.04'
- uses: ./.github/actions/docker-cgroups-ubuntu-22
if: matrix.docker == 'docker' && matrix.runs-on != 'ubuntu-20.04'
if: matrix.docker == 'docker' && inputs.runs-on != 'ubuntu-20.04'
- name: For RHEL builds, use entitlements
if: ${{ startsWith(matrix.os, 'rhel-') }}
uses: ./.github/actions/podman-entitlement
Expand Down

0 comments on commit 59752eb

Please sign in to comment.