Skip to content

Commit

Permalink
Use ubuntu-24.04 instead of ubuntu-latest (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru authored Feb 12, 2025
1 parent 8c38e0f commit 976ed6c
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contributed-recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

jobs:
generate-matrix:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-merge-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
merge-tags:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout Repo ⚡️
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

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

steps:
# Image with CUDA needs extra disk space
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-wiki-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
wiki-update:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout Repo ⚡️
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
parent-image: ""
image: docker-stacks-foundation
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

aarch64-base:
uses: ./.github/workflows/docker-build-test-upload.yml
Expand All @@ -91,7 +91,7 @@ jobs:
parent-image: docker-stacks-foundation
image: base-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-foundation]

aarch64-minimal:
Expand All @@ -110,7 +110,7 @@ jobs:
parent-image: base-notebook
image: minimal-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-base]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -130,7 +130,7 @@ jobs:
parent-image: minimal-notebook
image: scipy-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-minimal]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -150,7 +150,7 @@ jobs:
parent-image: minimal-notebook
image: r-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-minimal]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -170,7 +170,7 @@ jobs:
parent-image: minimal-notebook
image: julia-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-minimal]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -190,7 +190,7 @@ jobs:
parent-image: scipy-notebook
image: tensorflow-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -201,7 +201,7 @@ jobs:
image: tensorflow-notebook
variant: cuda
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -221,7 +221,7 @@ jobs:
parent-image: scipy-notebook
image: pytorch-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -232,7 +232,7 @@ jobs:
image: pytorch-notebook
variant: cuda11
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -243,7 +243,7 @@ jobs:
image: pytorch-notebook
variant: cuda12
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -263,7 +263,7 @@ jobs:
parent-image: scipy-notebook
image: datascience-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -283,7 +283,7 @@ jobs:
parent-image: scipy-notebook
image: pyspark-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-scipy]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand All @@ -303,7 +303,7 @@ jobs:
parent-image: pyspark-notebook
image: all-spark-notebook
platform: x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [x86_64-pyspark]
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
run-hooks:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout Repo ⚡️
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/registry-overviews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
update-overview:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
permissions:
contents: write
if: github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru' || github.event_name != 'schedule'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout Repo ⚡️
Expand Down
2 changes: 1 addition & 1 deletion docs/using/recipe_code/generate_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

def generate_matrix() -> dict[str, Any]:
dockerfiles = sorted(file.name for file in THIS_DIR.glob("*.dockerfile"))
runs_on = ["ubuntu-latest", "ubuntu-22.04-arm"]
runs_on = ["ubuntu-24.04", "ubuntu-22.04-arm"]
return {
"dockerfile": dockerfiles,
"runs-on": runs_on,
Expand Down

0 comments on commit 976ed6c

Please sign in to comment.