Skip to content

Commit 28c1693

Browse files
kiukchungfacebook-github-bot
authored andcommitted
Run CI actions on ubuntu 24.04 since ubuntu 20.04 is being deprecated on 04/01/2025 (#1032)
Summary: We've been getting a bunch of warnings in our CI because ubuntu 20.04 is being deprecated in a few days. This change upgrades us to ubuntu 24.04 {F1976524616} Differential Revision: D72004581
1 parent bde0ec9 commit 28c1693

12 files changed

+19
-19
lines changed

.github/workflows/aws-batch-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
awsbatch:
11-
runs-on: "linux.20_04.4x"
11+
runs-on: linux.24_04.4x
1212
permissions:
1313
id-token: write
1414
contents: read

.github/workflows/components-integration-tests.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
matrix:
1313
include:
1414
- scheduler: "aws_batch"
15-
platform: "linux.20_04.4x"
15+
platform: linux.24_04.4x
1616
- scheduler: "aws_batch"
1717
container_repo: localhost
1818
extra_args: "--mock"
19-
platform: "linux.20_04.4x"
19+
platform: linux.24_04.4x
2020
- scheduler: "kubernetes"
2121
container_repo: localhost:5000/torchx
22-
platform: "linux.20_04.16x"
22+
platform: linux.24_04.16x
2323
- scheduler: "local_cwd"
24-
platform: ubuntu-20.04
24+
platform: ubuntu-latest
2525
- scheduler: "local_docker"
26-
platform: "linux.20_04.4x"
26+
platform: linux.24_04.4x
2727
- scheduler: "ray"
28-
platform: ubuntu-20.04
28+
platform: ubuntu-latest
2929
fail-fast: false
3030
runs-on: ${{ matrix.platform }}
3131
permissions:

.github/workflows/container.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-20.04
10+
runs-on: linux.24_04.4x
1111
permissions:
1212
contents: read
1313
packages: write

.github/workflows/doc-build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
docbuild:
14-
runs-on: linux.20_04.4x
14+
runs-on: linux.24_04.4x
1515
steps:
1616
- name: Setup Python
1717
uses: actions/setup-python@v2
@@ -65,7 +65,7 @@ jobs:
6565
fi
6666
6767
docpush:
68-
runs-on: linux.20_04.4x
68+
runs-on: linux.24_04.4x
6969
needs: docbuild
7070
if: ${{ github.ref == 'refs/heads/main' }}
7171
steps:

.github/workflows/gcp-batch-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
gcpbatch:
1111
if: github.event.pull_request.head.repo.fork == false
12-
runs-on: ubuntu-20.04
12+
runs-on: linux.24_04.4x
1313
permissions:
1414
id-token: write
1515
contents: read

.github/workflows/kfp-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
kfp-launch:
11-
runs-on: linux.20_04.16x
11+
runs-on: inux.24_04.16x
1212
steps:
1313
- name: Setup Python
1414
uses: actions/setup-python@v2

.github/workflows/kubernetes-minikube-integration-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
kubernetes-launch:
11-
runs-on: "linux.20_04.16x"
11+
runs-on: linux.24_04.16x
1212
permissions:
1313
id-token: write
1414
contents: read

.github/workflows/lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
lint:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Setup Python
1414
uses: actions/setup-python@v2

.github/workflows/nightly.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
nightly:
10-
runs-on: linux.20_04.4x
10+
runs-on: linux.24_04.4x
1111
steps:
1212
- name: Setup Python 3.10
1313
uses: actions/setup-python@v2

.github/workflows/pyre.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
pyre:
11-
runs-on: ubuntu-24.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Setup Python
1414
uses: actions/setup-python@v2

.github/workflows/python-unittests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
strategy:
1212
matrix:
1313
python-version: [3.9, "3.10", 3.11, 3.12]
14-
platform: ["linux.20_04.4x"]
14+
platform: ["ubuntu-24.04"]
1515
include:
1616
- python-version: 3.9
17-
platform: macos-12-xl
17+
platform: macos-13-xlarge
1818
fail-fast: false
1919
env:
2020
OS: ${{ matrix.platform }}

.github/workflows/slurm-local-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
slurm:
14-
runs-on: linux.20_04.4x
14+
runs-on: linux.24_04.4x
1515
permissions:
1616
id-token: write
1717
contents: read

0 commit comments

Comments
 (0)