From b1e4116d404e35817abab532096a9cbc7eb83006 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 18 Mar 2023 19:11:12 +0900 Subject: [PATCH] ci: Use Ubuntu 22.04 This commit updates the CI workflows to use the GitHub Ubuntu 22.04 virtual environment for running jobs. Signed-off-by: Stephanos Ioannidis --- .github/workflows/backport.yml | 2 +- .github/workflows/bsim-tests-publish.yaml | 2 +- .github/workflows/bug_snapshot.yaml | 2 +- .github/workflows/clang.yaml | 2 +- .github/workflows/codecov.yaml | 2 +- .github/workflows/coding_guidelines.yml | 6 ++---- .github/workflows/compliance.yml | 2 +- .github/workflows/daily_test_version.yml | 2 +- .github/workflows/devicetree_checks.yml | 2 +- .github/workflows/do_not_merge.yml | 2 +- .github/workflows/doc-build.yml | 2 +- .github/workflows/errno.yml | 2 +- .github/workflows/footprint-tracking.yml | 2 +- .github/workflows/footprint.yml | 2 +- .github/workflows/issue_count.yml | 2 +- .github/workflows/license_check.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/stale-workflow-queue-cleanup.yml | 2 +- .github/workflows/stale_issue.yml | 2 +- .github/workflows/twister.yaml | 2 +- .github/workflows/twister_tests.yml | 2 +- .github/workflows/west_cmds.yml | 2 +- 22 files changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 81a0d2051ca3ca..6f7d29ede9b9f2 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -9,7 +9,7 @@ on: jobs: backport: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Backport steps: - name: Backport diff --git a/.github/workflows/bsim-tests-publish.yaml b/.github/workflows/bsim-tests-publish.yaml index 0752ebd3518fdb..c4705c88118bb3 100644 --- a/.github/workflows/bsim-tests-publish.yaml +++ b/.github/workflows/bsim-tests-publish.yaml @@ -8,7 +8,7 @@ on: jobs: bsim-test-results: name: "Publish BabbleSim Test Results" - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.event.workflow_run.conclusion != 'skipped' steps: diff --git a/.github/workflows/bug_snapshot.yaml b/.github/workflows/bug_snapshot.yaml index d1eda2065898ee..154f0ce52db2d9 100644 --- a/.github/workflows/bug_snapshot.yaml +++ b/.github/workflows/bug_snapshot.yaml @@ -16,7 +16,7 @@ on: jobs: make_bugs_pickle: name: Make bugs pickle - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository_owner == 'zephyrproject-rtos' steps: diff --git a/.github/workflows/clang.yaml b/.github/workflows/clang.yaml index 9c2a32c9701de7..c7c372a4b32f24 100644 --- a/.github/workflows/clang.yaml +++ b/.github/workflows/clang.yaml @@ -129,7 +129,7 @@ jobs: clang-build-results: name: "Publish Unit Tests Results" needs: clang-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0 steps: - name: Download Artifacts diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 972931407710bb..51d05f3b5d814f 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -111,7 +111,7 @@ jobs: codecov-results: name: "Publish Coverage Results" needs: codecov - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.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 2b12d6a7bb3205..ea632b7f0b2b90 100644 --- a/.github/workflows/coding_guidelines.yml +++ b/.github/workflows/coding_guidelines.yml @@ -4,7 +4,7 @@ on: pull_request jobs: compliance_job: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Run coding guidelines checks on patch series (PR) steps: - name: Checkout the code @@ -28,9 +28,7 @@ jobs: - name: Install Packages run: | sudo apt-get update - sudo apt-get install ocaml-base-nox - wget https://launchpad.net/~npalix/+archive/ubuntu/coccinelle/+files/coccinelle_1.0.8~20.04npalix1_amd64.deb - sudo dpkg -i coccinelle_1.0.8~20.04npalix1_amd64.deb + sudo apt-get install coccinelle - name: Run Coding Guildeines Checks continue-on-error: true diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index ebf20a0c20449b..f84faff3e4afa8 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -4,7 +4,7 @@ on: pull_request jobs: check_compliance: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.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 633b9978592da5..2a53889f22ecc1 100644 --- a/.github/workflows/daily_test_version.yml +++ b/.github/workflows/daily_test_version.yml @@ -12,7 +12,7 @@ on: jobs: get_version: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'zephyrproject-rtos/zephyr' steps: diff --git a/.github/workflows/devicetree_checks.yml b/.github/workflows/devicetree_checks.yml index 70d390ba788f86..465a86731494fc 100644 --- a/.github/workflows/devicetree_checks.yml +++ b/.github/workflows/devicetree_checks.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: python-version: [3.8, 3.9, '3.10'] - os: [ubuntu-20.04, macos-11, windows-2022] + os: [ubuntu-22.04, macos-11, windows-2022] exclude: - os: macos-11 python-version: 3.6 diff --git a/.github/workflows/do_not_merge.yml b/.github/workflows/do_not_merge.yml index c1241d1dcfa579..424c21243fa682 100644 --- a/.github/workflows/do_not_merge.yml +++ b/.github/workflows/do_not_merge.yml @@ -8,7 +8,7 @@ jobs: do-not-merge: if: ${{ contains(github.event.*.labels.*.name, 'DNM') }} name: Prevent Merging - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Check for label run: | diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 5934ea67783c18..466f9c8afbdad5 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -116,7 +116,7 @@ jobs: doc-build-pdf: name: "Documentation Build (PDF)" if: github.event_name != 'pull_request' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 container: texlive/texlive:latest timeout-minutes: 60 concurrency: diff --git a/.github/workflows/errno.yml b/.github/workflows/errno.yml index 5ff27b8015286b..6e3656ad109950 100644 --- a/.github/workflows/errno.yml +++ b/.github/workflows/errno.yml @@ -8,7 +8,7 @@ on: jobs: check-errno: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 container: image: ghcr.io/zephyrproject-rtos/ci:v0.25.0 env: diff --git a/.github/workflows/footprint-tracking.yml b/.github/workflows/footprint-tracking.yml index 0d4c18bc75536e..9bac6ec92ef107 100644 --- a/.github/workflows/footprint-tracking.yml +++ b/.github/workflows/footprint-tracking.yml @@ -19,7 +19,7 @@ concurrency: jobs: footprint-tracking: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'zephyrproject-rtos/zephyr' container: image: ghcr.io/zephyrproject-rtos/ci:v0.25.0 diff --git a/.github/workflows/footprint.yml b/.github/workflows/footprint.yml index 660776fbc525bf..9ed8fdc57f9b37 100644 --- a/.github/workflows/footprint.yml +++ b/.github/workflows/footprint.yml @@ -8,7 +8,7 @@ concurrency: jobs: footprint-delta: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'zephyrproject-rtos/zephyr' container: image: ghcr.io/zephyrproject-rtos/ci:v0.25.0 diff --git a/.github/workflows/issue_count.yml b/.github/workflows/issue_count.yml index 771461d6ebf9c5..5cda7bcfcec744 100644 --- a/.github/workflows/issue_count.yml +++ b/.github/workflows/issue_count.yml @@ -14,7 +14,7 @@ env: jobs: track-issues: name: "Collect Issue Stats" - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'zephyrproject-rtos/zephyr' steps: diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 3d14abed96aa87..e869df1fb6328f 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -4,7 +4,7 @@ on: [pull_request] jobs: scancode_job: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Scan code for licenses steps: - name: Checkout the code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e266b76a3a2d4..ab0e9384ae7c21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/stale-workflow-queue-cleanup.yml b/.github/workflows/stale-workflow-queue-cleanup.yml index d601536d055f43..ec1a4cc716fbba 100644 --- a/.github/workflows/stale-workflow-queue-cleanup.yml +++ b/.github/workflows/stale-workflow-queue-cleanup.yml @@ -14,7 +14,7 @@ concurrency: jobs: cleanup: name: Cleanup - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Delete stale queued workflow runs diff --git a/.github/workflows/stale_issue.yml b/.github/workflows/stale_issue.yml index b4f09b413539b0..a75ce1e130924c 100644 --- a/.github/workflows/stale_issue.yml +++ b/.github/workflows/stale_issue.yml @@ -6,7 +6,7 @@ on: jobs: stale: name: Find Stale issues and PRs - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'zephyrproject-rtos/zephyr' steps: - uses: actions/stale@v3 diff --git a/.github/workflows/twister.yaml b/.github/workflows/twister.yaml index e54836ef3aaeee..6f496b5a2a0e1e 100644 --- a/.github/workflows/twister.yaml +++ b/.github/workflows/twister.yaml @@ -274,7 +274,7 @@ jobs: ELASTICSEARCH_KEY: ${{ secrets.ELASTICSEARCH_KEY }} ELASTICSEARCH_SERVER: "https://elasticsearch.zephyrproject.io:443" needs: twister-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 # the build-and-test job might be skipped, we don't need to run this job then if: success() || failure() diff --git a/.github/workflows/twister_tests.yml b/.github/workflows/twister_tests.yml index 9f37ddba107880..ed4bee2a18cfb3 100644 --- a/.github/workflows/twister_tests.yml +++ b/.github/workflows/twister_tests.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: python-version: [3.8, 3.9, '3.10'] - os: [ubuntu-20.04] + os: [ubuntu-22.04] steps: - name: checkout uses: actions/checkout@v3 diff --git a/.github/workflows/west_cmds.yml b/.github/workflows/west_cmds.yml index faa8c1bf24b9cd..f1d2c4c6c7ce76 100644 --- a/.github/workflows/west_cmds.yml +++ b/.github/workflows/west_cmds.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: python-version: [3.8, 3.9, '3.10'] - os: [ubuntu-20.04, macos-11, windows-2022] + os: [ubuntu-22.04, macos-11, windows-2022] exclude: - os: macos-11 python-version: 3.6