From 3afd6cf3adcb51808ff4e3bb84462a18854e2f99 Mon Sep 17 00:00:00 2001 From: Maciej Perkowski Date: Tue, 15 Apr 2025 15:00:23 +0200 Subject: [PATCH] ci: workflows: Align used host Ubuntu-24.04 is the version to be used as default in all gh workflows Signed-off-by: Maciej Perkowski --- .github/workflows/assigner.yml | 2 +- .github/workflows/backport.yml | 2 +- .github/workflows/backport_issue_check.yml | 2 +- .github/workflows/bsim-tests-publish.yaml | 2 +- .github/workflows/bug_snapshot.yaml | 2 +- .github/workflows/codecov.yaml | 2 +- .github/workflows/coding_guidelines.yml | 2 +- .github/workflows/compliance.yml | 2 +- .github/workflows/daily_test_version.yml | 2 +- .github/workflows/doc-publish-pr.yml | 2 +- .github/workflows/doc-publish.yml | 2 +- .github/workflows/errno.yml | 2 +- .github/workflows/greet_first_time_contributor.yml | 2 +- .github/workflows/issue_count.yml | 2 +- .github/workflows/license_check.yml | 2 +- .github/workflows/manifest.yml | 2 +- .github/workflows/pr_metadata_check.yml | 4 ++-- .github/workflows/pylib_tests.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/stale-workflow-queue-cleanup.yml | 2 +- .github/workflows/stale_issue.yml | 2 +- .github/workflows/stats_merged_prs.yml | 2 +- .github/workflows/twister-publish.yaml | 2 +- .github/workflows/twister.yaml | 2 +- .github/workflows/twister_tests.yml | 2 +- 25 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/assigner.yml b/.github/workflows/assigner.yml index 359a47a5d96c..3e5988fc698c 100644 --- a/.github/workflows/assigner.yml +++ b/.github/workflows/assigner.yml @@ -22,7 +22,7 @@ jobs: assignment: name: Pull Request Assignment if: github.event.pull_request.draft == false - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: pull-requests: write # to add assignees to pull requests issues: write # to add assignees to issues diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 9eb2f7c805ac..3ecf66b17da9 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -13,7 +13,7 @@ permissions: jobs: backport: name: Backport - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: write # to create/push backport branches pull-requests: write # to create backport PRs diff --git a/.github/workflows/backport_issue_check.yml b/.github/workflows/backport_issue_check.yml index 4903312077a7..a285113aad20 100644 --- a/.github/workflows/backport_issue_check.yml +++ b/.github/workflows/backport_issue_check.yml @@ -19,7 +19,7 @@ jobs: concurrency: group: backport-issue-check-${{ github.ref }} cancel-in-progress: true - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository == 'zephyrproject-rtos/zephyr' permissions: issues: read # to check if associated issue exists for backport diff --git a/.github/workflows/bsim-tests-publish.yaml b/.github/workflows/bsim-tests-publish.yaml index f6a95cc344d5..1cb30f2cfa9e 100644 --- a/.github/workflows/bsim-tests-publish.yaml +++ b/.github/workflows/bsim-tests-publish.yaml @@ -12,7 +12,7 @@ permissions: jobs: bsim-test-results: name: "Publish BabbleSim Test Results" - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.event.workflow_run.conclusion != 'skipped' permissions: checks: write # to create the check run entry with test results diff --git a/.github/workflows/bug_snapshot.yaml b/.github/workflows/bug_snapshot.yaml index 699a4d187dd6..e4cc5b7fddab 100644 --- a/.github/workflows/bug_snapshot.yaml +++ b/.github/workflows/bug_snapshot.yaml @@ -19,7 +19,7 @@ permissions: jobs: make_bugs_pickle: name: Make bugs pickle - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository_owner == 'zephyrproject-rtos' steps: diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 841bdeb6d03a..74ca259c91fa 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -134,7 +134,7 @@ jobs: codecov-results: name: "Publish Coverage Results" needs: codecov - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 # the codecov job might be skipped, we don't need to run this job then if: success() || failure() diff --git a/.github/workflows/coding_guidelines.yml b/.github/workflows/coding_guidelines.yml index 77d604fcaa91..cf3d7182f18f 100644 --- a/.github/workflows/coding_guidelines.yml +++ b/.github/workflows/coding_guidelines.yml @@ -7,7 +7,7 @@ permissions: jobs: compliance_job: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 name: Run coding guidelines checks on patch series (PR) steps: - name: Checkout the code diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 16a96aa6a7f2..12f2601c0164 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -13,7 +13,7 @@ permissions: jobs: check_compliance: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 name: Run compliance checks on patch series (PR) steps: - name: Update PATH for west diff --git a/.github/workflows/daily_test_version.yml b/.github/workflows/daily_test_version.yml index 92cf3f0a4dbb..02eef3c776f6 100644 --- a/.github/workflows/daily_test_version.yml +++ b/.github/workflows/daily_test_version.yml @@ -15,7 +15,7 @@ permissions: jobs: get_version: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository == 'zephyrproject-rtos/zephyr' steps: diff --git a/.github/workflows/doc-publish-pr.yml b/.github/workflows/doc-publish-pr.yml index c9e4bf40e5df..54ac20d6ad46 100644 --- a/.github/workflows/doc-publish-pr.yml +++ b/.github/workflows/doc-publish-pr.yml @@ -16,7 +16,7 @@ permissions: jobs: doc-publish: name: Publish Documentation - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: | github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' && diff --git a/.github/workflows/doc-publish.yml b/.github/workflows/doc-publish.yml index d4b44ef0fe97..89afeb4ed1b9 100644 --- a/.github/workflows/doc-publish.yml +++ b/.github/workflows/doc-publish.yml @@ -19,7 +19,7 @@ permissions: jobs: doc-publish: name: Publish Documentation - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: | github.event.workflow_run.event != 'pull_request' && github.event.workflow_run.conclusion == 'success' && diff --git a/.github/workflows/errno.yml b/.github/workflows/errno.yml index b37310a70ec8..a035936216f5 100644 --- a/.github/workflows/errno.yml +++ b/.github/workflows/errno.yml @@ -11,7 +11,7 @@ permissions: jobs: check-errno: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: image: ghcr.io/zephyrproject-rtos/ci:v0.27.4 diff --git a/.github/workflows/greet_first_time_contributor.yml b/.github/workflows/greet_first_time_contributor.yml index 4b287dfe94b7..ae69fd5cc012 100644 --- a/.github/workflows/greet_first_time_contributor.yml +++ b/.github/workflows/greet_first_time_contributor.yml @@ -11,7 +11,7 @@ permissions: jobs: check_for_first_interaction: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository == 'zephyrproject-rtos/zephyr' permissions: pull-requests: write # to comment on pull requests diff --git a/.github/workflows/issue_count.yml b/.github/workflows/issue_count.yml index a1f7b141188c..0ab24ef5f647 100644 --- a/.github/workflows/issue_count.yml +++ b/.github/workflows/issue_count.yml @@ -17,7 +17,7 @@ env: jobs: track-issues: name: "Collect Issue Stats" - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository == 'zephyrproject-rtos/zephyr' steps: diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index ecbcecb97f24..212c76366598 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -7,7 +7,7 @@ permissions: jobs: scancode_job: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 name: Scan code for licenses steps: - name: Checkout the code diff --git a/.github/workflows/manifest.yml b/.github/workflows/manifest.yml index 13da169fb2e5..fdd6f75e38cf 100644 --- a/.github/workflows/manifest.yml +++ b/.github/workflows/manifest.yml @@ -7,7 +7,7 @@ permissions: jobs: contribs: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: pull-requests: write # to create/update pull request comments name: Manifest diff --git a/.github/workflows/pr_metadata_check.yml b/.github/workflows/pr_metadata_check.yml index 2c450efc7d6a..3564c6352c8f 100644 --- a/.github/workflows/pr_metadata_check.yml +++ b/.github/workflows/pr_metadata_check.yml @@ -16,7 +16,7 @@ permissions: jobs: do-not-merge: name: Prevent Merging - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check for label if: ${{ contains(github.event.*.labels.*.name, 'DNM') || @@ -32,7 +32,7 @@ jobs: empty_pr_description: if: ${{ github.event.pull_request.body == '' }} name: PR Description - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check for PR description run: | diff --git a/.github/workflows/pylib_tests.yml b/.github/workflows/pylib_tests.yml index ff122b0fa626..29cfd1a52730 100644 --- a/.github/workflows/pylib_tests.yml +++ b/.github/workflows/pylib_tests.yml @@ -29,7 +29,7 @@ jobs: strategy: matrix: python-version: ['3.10', '3.11', '3.12', '3.13'] - os: [ubuntu-22.04] + os: [ubuntu-24.04] steps: - name: checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba11cec6351b..91f4037a2e2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ permissions: jobs: release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: write # to create GitHub release entry steps: diff --git a/.github/workflows/stale-workflow-queue-cleanup.yml b/.github/workflows/stale-workflow-queue-cleanup.yml index 8dc9b1ed502d..f40d5b928da8 100644 --- a/.github/workflows/stale-workflow-queue-cleanup.yml +++ b/.github/workflows/stale-workflow-queue-cleanup.yml @@ -17,7 +17,7 @@ concurrency: jobs: cleanup: name: Cleanup - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: actions: write # to delete stale workflow runs diff --git a/.github/workflows/stale_issue.yml b/.github/workflows/stale_issue.yml index fa7889e9aa51..ec59d2641d90 100644 --- a/.github/workflows/stale_issue.yml +++ b/.github/workflows/stale_issue.yml @@ -9,7 +9,7 @@ permissions: jobs: stale: name: Find Stale issues and PRs - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository == 'zephyrproject-rtos/zephyr' permissions: pull-requests: write # to comment on stale pull requests diff --git a/.github/workflows/stats_merged_prs.yml b/.github/workflows/stats_merged_prs.yml index ead7d1911b40..bb79f7728017 100644 --- a/.github/workflows/stats_merged_prs.yml +++ b/.github/workflows/stats_merged_prs.yml @@ -13,7 +13,7 @@ permissions: jobs: record_merged: if: github.event.pull_request.merged == true && github.repository == 'zephyrproject-rtos/zephyr' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/twister-publish.yaml b/.github/workflows/twister-publish.yaml index b2db7ab161d5..ceac5a7736bf 100644 --- a/.github/workflows/twister-publish.yaml +++ b/.github/workflows/twister-publish.yaml @@ -19,7 +19,7 @@ jobs: env: ELASTICSEARCH_KEY: ${{ secrets.ELASTICSEARCH_KEY }} ELASTICSEARCH_SERVER: "https://elasticsearch.zephyrproject.io:443" - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: # Needed for elasticearch and upload script - name: Checkout diff --git a/.github/workflows/twister.yaml b/.github/workflows/twister.yaml index 3166acbd257c..946cfff778e4 100644 --- a/.github/workflows/twister.yaml +++ b/.github/workflows/twister.yaml @@ -310,7 +310,7 @@ jobs: name: "Publish Unit Tests Results" needs: - twister-build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: checks: write # to create the check run entry with Twister test results # the build-and-test job might be skipped, we don't need to run this job then diff --git a/.github/workflows/twister_tests.yml b/.github/workflows/twister_tests.yml index 5a7514de9a1b..394936a29aa3 100644 --- a/.github/workflows/twister_tests.yml +++ b/.github/workflows/twister_tests.yml @@ -36,7 +36,7 @@ jobs: strategy: matrix: python-version: ['3.10', '3.11', '3.12', '3.13'] - os: [ubuntu-22.04] + os: [ubuntu-24.04] steps: - name: checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2