[llvm] [CI] Update OS base image to ubuntu-24.04 (PR #109536)

via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 21 10:01:00 PDT 2024


https://github.com/Damien-Chen created https://github.com/llvm/llvm-project/pull/109536

None

>From 2dd1dcaad2a8fcc40b60db91c68c8dc029487814 Mon Sep 17 00:00:00 2001
From: Damien-Chen <inkfan130924783 at gmail.com>
Date: Sun, 22 Sep 2024 00:57:53 +0800
Subject: [PATCH] test

---
 .github/workflows/build-ci-container.yml                      | 2 +-
 .github/workflows/ci-post-commit-analyzer.yml                 | 4 ++--
 .github/workflows/commit-access-review.yml                    | 2 +-
 .../workflows/containers/github-action-ci/stage1.Dockerfile   | 2 +-
 .../workflows/containers/github-action-ci/stage2.Dockerfile   | 2 +-
 .github/workflows/release-asset-audit.yml                     | 2 +-
 .github/workflows/release-binaries-all.yml                    | 4 ++--
 .github/workflows/release-binaries.yml                        | 4 ++--
 .github/workflows/release-tasks.yml                           | 2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index 28fc7de2ee0654..989aee2a01daa4 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -60,7 +60,7 @@ jobs:
         id: vars
         run: |
           tag=`date +%s`
-          container_name="ghcr.io/$GITHUB_REPOSITORY_OWNER/ci-ubuntu-22.04"
+          container_name="ghcr.io/$GITHUB_REPOSITORY_OWNER/ci-ubuntu-24.04"
           echo "container-name=$container_name" >> $GITHUB_OUTPUT
           echo "container-name-tag=$container_name:$tag" >> $GITHUB_OUTPUT
 
diff --git a/.github/workflows/ci-post-commit-analyzer.yml b/.github/workflows/ci-post-commit-analyzer.yml
index d614dd07b3a493..d021c1e9430f0e 100644
--- a/.github/workflows/ci-post-commit-analyzer.yml
+++ b/.github/workflows/ci-post-commit-analyzer.yml
@@ -34,9 +34,9 @@ jobs:
     if: >-
       github.repository_owner == 'llvm' &&
       github.event.action != 'closed'
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     container:
-      image: 'ghcr.io/llvm/ci-ubuntu-22.04:latest'
+      image: 'ghcr.io/llvm/ci-ubuntu-24.04:latest'
     env:
       LLVM_VERSION: 18
     steps:
diff --git a/.github/workflows/commit-access-review.yml b/.github/workflows/commit-access-review.yml
index f9195a1863deec..0466fb7c4bd000 100644
--- a/.github/workflows/commit-access-review.yml
+++ b/.github/workflows/commit-access-review.yml
@@ -12,7 +12,7 @@ permissions:
 jobs:
   commit-access-review:
     if: github.repository_owner == 'llvm'
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     steps:
       - name: Fetch LLVM sources
         uses: actions/checkout at v4
diff --git a/.github/workflows/containers/github-action-ci/stage1.Dockerfile b/.github/workflows/containers/github-action-ci/stage1.Dockerfile
index 73828cc05736e6..285f3256dd37cb 100644
--- a/.github/workflows/containers/github-action-ci/stage1.Dockerfile
+++ b/.github/workflows/containers/github-action-ci/stage1.Dockerfile
@@ -1,4 +1,4 @@
-FROM docker.io/library/ubuntu:22.04 as base
+FROM docker.io/library/ubuntu:24.04 as base
 ENV LLVM_SYSROOT=/opt/llvm
 
 FROM base as stage1-toolchain
diff --git a/.github/workflows/containers/github-action-ci/stage2.Dockerfile b/.github/workflows/containers/github-action-ci/stage2.Dockerfile
index 0ca0da87734c4c..8aa3adb65c7b30 100644
--- a/.github/workflows/containers/github-action-ci/stage2.Dockerfile
+++ b/.github/workflows/containers/github-action-ci/stage2.Dockerfile
@@ -1,4 +1,4 @@
-FROM docker.io/library/ubuntu:22.04 as base
+FROM docker.io/library/ubuntu:24.04 as base
 ENV LLVM_SYSROOT=/opt/llvm
 
 FROM stage1-toolchain AS stage2-toolchain
diff --git a/.github/workflows/release-asset-audit.yml b/.github/workflows/release-asset-audit.yml
index 018c5d542f32eb..8112d8a1408100 100644
--- a/.github/workflows/release-asset-audit.yml
+++ b/.github/workflows/release-asset-audit.yml
@@ -19,7 +19,7 @@ permissions:
 jobs:
   audit:
     name: "Release Asset Audit"
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     if: github.repository == 'llvm/llvm-project'
     steps:
       - uses: actions/checkout at a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 394b0c74d24edd..ac49a0b315d53f 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -52,7 +52,7 @@ jobs:
   setup-variables:
     if: >-
       (github.event_name != 'pull_request' || github.event.action != 'closed')
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     outputs:
       release-version: ${{ steps.vars.outputs.release-version }}
       upload: ${{ steps.vars.outputs.upload }}
@@ -81,7 +81,7 @@ jobs:
       fail-fast: false
       matrix:
         runs-on:
-          - ubuntu-22.04
+          - ubuntu-24.04
           - windows-2022
           - macos-13
           - macos-14
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 925912df6843e4..e60f4bc8d55dca 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -17,7 +17,7 @@ on:
         required: true
         type: choice
         options:
-          - ubuntu-22.04
+          - ubuntu-24.04
           - windows-2022
           - macos-13
           - macos-14
@@ -413,7 +413,7 @@ jobs:
       always() &&
       github.event_name != 'pull_request' &&
       needs.prepare.outputs.upload == 'true'
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     permissions:
       contents: write # For release uploads
       id-token: write     # For artifact attestations
diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml
index 780dd0ff6325c9..e71994b5629db0 100644
--- a/.github/workflows/release-tasks.yml
+++ b/.github/workflows/release-tasks.yml
@@ -93,7 +93,7 @@ jobs:
       fail-fast: false
       matrix:
         runs-on:
-          - ubuntu-22.04
+          - ubuntu-24.04
           - windows-2022
           - macos-13
           - macos-14



More information about the llvm-commits mailing list