Skip to content

Commit

Permalink
Switch GHA runners to Ubuntu 24.04
Browse files Browse the repository at this point in the history
Ubuntu 24.04 is about to the version deployed with ubuntu-latest.
This commit is to start using it and validating it before the actual
change happens.

Signed-off-by: David Cassany <[email protected]>
  • Loading branch information
davidcassany committed Dec 12, 2024
1 parent ecaac09 commit e9c5ae1
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
detect:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
flavor: ${{ steps.set-matrix.outputs.flavor }}
platform: ${{ steps.set-platform.outputs.platform }}
Expand All @@ -34,7 +34,7 @@ jobs:
contents: read
needs:
- detect
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
PLATFORM: ${{ needs.detect.outputs.platform }}
outputs:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build_and_test_x86.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
build-os:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
contents: read
needs:
- build-os
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
contents: read
needs:
- build-os
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
detect:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
tests: ${{ steps.detect.outputs.tests }}
steps:
Expand All @@ -181,7 +181,7 @@ jobs:
needs:
- build-disk
- detect
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
needs:
- build-iso
- detect
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
version:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
version: ${{ steps.version.outputs.version }}
steps:
Expand All @@ -39,7 +39,7 @@ jobs:
contents: read
needs:
- version
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Cleanup
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
HUGO_VERSION: 0.111.0
steps:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build-toolkit:
permissions:
packages: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
PLATFORM: x86_64
TOOLKIT_REPO: ghcr.io/${{github.repository}}/elemental-cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build-toolkit:
permissions:
packages: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
TOOLKIT_REPO: ghcr.io/${{github.repository}}/elemental-cli
REPO: ghcr.io/${{github.repository}}/elemental-${{ github.event.inputs.flavor }}
Expand Down

0 comments on commit e9c5ae1

Please sign in to comment.