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

Pin CI workflows to ubuntu 24.04 #1214

Merged
merged 2 commits into from
Feb 12, 2025
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions: write-all

jobs:
dependabot:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Approve a PR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy

jobs:
tag-and-push:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Upstream tag
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gitlab-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on: # yamllint disable-line rule:truthy
jobs:
prepare:
name: "🔍 Check source preparation and test configs"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

gitlab-ci-helper:
name: "Gitlab CI trigger helper"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Trigger
run: echo "GitLab trigger complete"
2 changes: 1 addition & 1 deletion .github/workflows/pr_best_practices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on: # yamllint disable-line rule:truthy

jobs:
pr-best-practices:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: PR best practice check
uses: osbuild/pr-best-practices@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on: # yamllint disable-line rule:truthy

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Upstream release
uses: osbuild/release-action@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on: # yamllint disable-line rule:truthy

jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-osbuild-composer-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

unit-tests:
name: "🛃 Unit tests"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: registry.fedoraproject.org/fedora:latest
env:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
name: "Post notice"
permissions:
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: unit-tests
steps:
- name: Add comment (breakage)
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- 41
fail-fast: false # if one fails, keep the other(s) running
name: "🛃 Unit tests (Fedora ${{ matrix.fedora_version }})"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container: registry.fedoraproject.org/fedora:${{ matrix.fedora_version }}
env:
# workaround for expired cert at source of indirect dependency
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

container-resolver-tests:
name: "🛃 Container resolver tests"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
image_tag: stream10-development
fail-fast: false # if one fails, keep the other(s) running
name: "🛃 Unit tests (CentOS Stream ${{ matrix.centos_stream.version }})"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: quay.io/centos/centos:${{ matrix.centos_stream.image_tag }}
env:
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:

lint:
name: "⌨ Lint"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

shellcheck:
name: "🐚 Shellcheck"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
Expand All @@ -199,7 +199,7 @@ jobs:

python-test:
name: "🐍 pytest (imgtestlib and test scripts)"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
Expand All @@ -222,7 +222,7 @@ jobs:

python-lint:
name: "🐍 Lint (test scripts)"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-gitlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
trigger-gitlab:
# this should never fail, but check it anyway in case we ever change it
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
IMAGEBUILDER_BOT_GITLAB_SSH_KEY: ${{ secrets.IMAGEBUILDER_BOT_GITLAB_SSH_KEY }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-bootc-image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy

jobs:
update-and-push:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Apt update
run: sudo apt update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-osbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
update-and-push:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Apt update
run: sudo apt update
Expand Down
Loading