[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:52 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Damien (Damien-Chen)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/109536.diff
9 Files Affected:
- (modified) .github/workflows/build-ci-container.yml (+1-1)
- (modified) .github/workflows/ci-post-commit-analyzer.yml (+2-2)
- (modified) .github/workflows/commit-access-review.yml (+1-1)
- (modified) .github/workflows/containers/github-action-ci/stage1.Dockerfile (+1-1)
- (modified) .github/workflows/containers/github-action-ci/stage2.Dockerfile (+1-1)
- (modified) .github/workflows/release-asset-audit.yml (+1-1)
- (modified) .github/workflows/release-binaries-all.yml (+2-2)
- (modified) .github/workflows/release-binaries.yml (+2-2)
- (modified) .github/workflows/release-tasks.yml (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/109536
More information about the llvm-commits
mailing list