Skip to content

Commit

Permalink
pin to ubuntu-22.04 (#1201)
Browse files Browse the repository at this point in the history
**Context:**
The github action tag `ubuntu-latest` now hits ubuntu-24.04, causing
many failures: actions/runner-images#10636

We pin to ubuntu-22.04.
  • Loading branch information
paul0403 authored Oct 10, 2024
1 parent 97297bb commit bcf7023
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-enzyme-v0.0.130.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Determine runner type to use
uses: ./.github/workflows/determine-workflow-runner.yml
with:
default_runner: ubuntu-latest
default_runner: ubuntu-22.04

constants:
name: "Set build matrix"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
setup:
name: Setup the release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout Catalyst repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
upload:
name: Prepare & Upload wheels to TestPyPI
needs: [linux-x86, macos-arm] # linux-aarch, macos-x86
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Determine runner type to use
uses: ./.github/workflows/determine-workflow-runner.yml
with:
default_runner: ubuntu-latest
default_runner: ubuntu-22.04

check_if_wheel_build_required:
if: github.event.pull_request.draft == false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Changelog Reminder
jobs:
remind:
name: Changelog Reminder
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- name: Changelog Reminder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-catalyst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Determine runner type to use
uses: ./.github/workflows/determine-workflow-runner.yml
with:
default_runner: ubuntu-latest
default_runner: ubuntu-22.04

constants:
name: "Set build matrix"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-for-wheel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check_if_required:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Build is triggered from Pull Request
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
format-python:
name: Python Formatting & Linting
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Install dependencies
Expand All @@ -31,7 +31,7 @@ jobs:

format-cpp:
name: C++ Formatting
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-jax-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
check-jax:
name: Build/Test Catalyst against JAX
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pl-compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
check-config:
name: Build Configuration
needs: [constants]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout Catalyst repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/determine-workflow-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
(
github.event_name == 'pull_request'
&& contains(github.event.pull_request.labels.*.name, 'urgent')
) && 'pl-4-core-large-runner' || 'ubuntu-latest'
) && 'pl-4-core-large-runner' || 'ubuntu-22.04'
}}
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-failed-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
on-failure:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'timed_out'
steps:
- uses: ravsamhq/notify-slack-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rc_sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# This workflow contains a single job to sync the main branch with changes from the rc
sync:
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -82,4 +82,4 @@ jobs:
pr_body: "Automatic sync from the release candidate to main during a feature freeze."
pr_allow_empty: false
pr_draft: false
pr_reviewer: "dime10,rauletorresc"
pr_reviewer: "dime10,rauletorresc"

0 comments on commit bcf7023

Please sign in to comment.