Skip to content

Commit e7176d5

Browse files
authored
ci: Update runners to ubuntu-22.04 (#15219)
Bumping our images to ubuntu-22.04, except for the `ubuntu-20.04-large-js` ones, as I guess those ones are custom - should look into those too then eventually. In a follow up, we can try to bump to 24.04, possibly, but I figured we can do this piece by piece.
1 parent 52c40fc commit e7176d5

11 files changed

+30
-30
lines changed

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
# This workflow tirggers a release when merging a branch with the pattern `prepare-release/VERSION` into master.
1010
jobs:
1111
release:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
name: 'Prepare a new version'
1414

1515
steps:

.github/workflows/build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ env:
6262
jobs:
6363
job_get_metadata:
6464
name: Get Metadata
65-
runs-on: ubuntu-20.04
65+
runs-on: ubuntu-22.04
6666
permissions:
6767
pull-requests: read
6868
steps:
@@ -118,7 +118,7 @@ jobs:
118118
job_build:
119119
name: Build
120120
needs: job_get_metadata
121-
runs-on: ubuntu-20.04
121+
runs-on: ubuntu-22.04
122122
timeout-minutes: 15
123123
if: |
124124
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
@@ -196,7 +196,7 @@ jobs:
196196
job_check_branches:
197197
name: Check PR branches
198198
needs: job_get_metadata
199-
runs-on: ubuntu-20.04
199+
runs-on: ubuntu-22.04
200200
if: github.event_name == 'pull_request'
201201
permissions:
202202
pull-requests: write
@@ -212,7 +212,7 @@ jobs:
212212
name: Size Check
213213
needs: [job_get_metadata, job_build]
214214
timeout-minutes: 15
215-
runs-on: ubuntu-20.04
215+
runs-on: ubuntu-22.04
216216
if:
217217
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_base_branch == 'true' ||
218218
needs.job_get_metadata.outputs.is_release == 'true'
@@ -242,7 +242,7 @@ jobs:
242242
# inter-package dependencies resolve cleanly.
243243
needs: [job_get_metadata, job_build]
244244
timeout-minutes: 10
245-
runs-on: ubuntu-20.04
245+
runs-on: ubuntu-22.04
246246
steps:
247247
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
248248
uses: actions/checkout@v4
@@ -267,7 +267,7 @@ jobs:
267267
name: Check file formatting
268268
needs: [job_get_metadata]
269269
timeout-minutes: 10
270-
runs-on: ubuntu-20.04
270+
runs-on: ubuntu-22.04
271271
steps:
272272
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
273273
uses: actions/checkout@v4
@@ -290,7 +290,7 @@ jobs:
290290
name: Circular Dependency Check
291291
needs: [job_get_metadata, job_build]
292292
timeout-minutes: 10
293-
runs-on: ubuntu-20.04
293+
runs-on: ubuntu-22.04
294294
steps:
295295
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
296296
uses: actions/checkout@v4
@@ -310,7 +310,7 @@ jobs:
310310
job_artifacts:
311311
name: Upload Artifacts
312312
needs: [job_get_metadata, job_build]
313-
runs-on: ubuntu-20.04
313+
runs-on: ubuntu-22.04
314314
# Build artifacts are only needed for releasing workflow.
315315
if: needs.job_get_metadata.outputs.is_release == 'true'
316316
steps:
@@ -347,7 +347,7 @@ jobs:
347347
name: Browser Unit Tests
348348
needs: [job_get_metadata, job_build]
349349
timeout-minutes: 10
350-
runs-on: ubuntu-20.04
350+
runs-on: ubuntu-22.04
351351
steps:
352352
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
353353
uses: actions/checkout@v4
@@ -386,7 +386,7 @@ jobs:
386386
needs: [job_get_metadata, job_build]
387387
if: needs.job_build.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
388388
timeout-minutes: 10
389-
runs-on: ubuntu-20.04
389+
runs-on: ubuntu-22.04
390390
strategy:
391391
fail-fast: false
392392
steps:
@@ -413,7 +413,7 @@ jobs:
413413
needs: [job_get_metadata, job_build]
414414
if: needs.job_build.outputs.changed_deno == 'true' || github.event_name != 'pull_request'
415415
timeout-minutes: 10
416-
runs-on: ubuntu-20.04
416+
runs-on: ubuntu-22.04
417417
strategy:
418418
fail-fast: false
419419
steps:
@@ -443,7 +443,7 @@ jobs:
443443
name: Node (${{ matrix.node }}) Unit Tests
444444
needs: [job_get_metadata, job_build]
445445
timeout-minutes: 10
446-
runs-on: ubuntu-20.04
446+
runs-on: ubuntu-22.04
447447
strategy:
448448
fail-fast: false
449449
matrix:
@@ -578,7 +578,7 @@ jobs:
578578
name: PW ${{ matrix.bundle }} Tests
579579
needs: [job_get_metadata, job_build]
580580
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
581-
runs-on: ubuntu-20.04
581+
runs-on: ubuntu-22.04
582582
timeout-minutes: 15
583583
strategy:
584584
fail-fast: false
@@ -638,7 +638,7 @@ jobs:
638638
job_check_for_faulty_dts:
639639
name: Check for faulty .d.ts files
640640
needs: [job_get_metadata, job_build]
641-
runs-on: ubuntu-20.04
641+
runs-on: ubuntu-22.04
642642
timeout-minutes: 5
643643
steps:
644644
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -666,7 +666,7 @@ jobs:
666666
Tests
667667
needs: [job_get_metadata, job_build]
668668
if: needs.job_build.outputs.changed_node_integration == 'true' || github.event_name != 'pull_request'
669-
runs-on: ubuntu-20.04
669+
runs-on: ubuntu-22.04
670670
timeout-minutes: 15
671671
strategy:
672672
fail-fast: false
@@ -705,7 +705,7 @@ jobs:
705705
name: Remix (Node ${{ matrix.node }}) Tests
706706
needs: [job_get_metadata, job_build]
707707
if: needs.job_build.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
708-
runs-on: ubuntu-20.04
708+
runs-on: ubuntu-22.04
709709
timeout-minutes: 10
710710
strategy:
711711
fail-fast: false
@@ -801,7 +801,7 @@ jobs:
801801
# See: https://github.com/actions/runner/issues/2205
802802
if: always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}'
803803
needs: [job_get_metadata, job_build, job_e2e_prepare]
804-
runs-on: ubuntu-20.04
804+
runs-on: ubuntu-22.04
805805
timeout-minutes: 15
806806
env:
807807
# We just use a dummy DSN here, only send to the tunnel anyhow
@@ -923,7 +923,7 @@ jobs:
923923
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
924924
github.actor != 'dependabot[bot]'
925925
needs: [job_get_metadata, job_build, job_e2e_prepare]
926-
runs-on: ubuntu-20.04
926+
runs-on: ubuntu-22.04
927927
timeout-minutes: 15
928928
env:
929929
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
@@ -1043,7 +1043,7 @@ jobs:
10431043
]
10441044
# Always run this, even if a dependent job failed
10451045
if: always()
1046-
runs-on: ubuntu-20.04
1046+
runs-on: ubuntu-22.04
10471047
steps:
10481048
- name: Check for failures
10491049
if: contains(needs.*.result, 'failure')

.github/workflows/canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
jobs:
2828
job_e2e_prepare:
2929
name: Prepare E2E Canary tests
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-22.04
3131
timeout-minutes: 30
3232
steps:
3333
- name: Check out current commit
@@ -54,7 +54,7 @@ jobs:
5454
job_e2e_tests:
5555
name: E2E ${{ matrix.label }} Test
5656
needs: [job_e2e_prepare]
57-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-22.04
5858
timeout-minutes: 20
5959
env:
6060
# We just use a dummy DSN here, only send to the tunnel anyhow

.github/workflows/clear-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
clear-caches:
2323
name: Delete all caches
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-22.04
2525
steps:
2626
- uses: actions/checkout@v4
2727

.github/workflows/enforce-license-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
enforce-license-compliance:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
steps:
2222
- name: 'Enforce License Compliance'
2323
uses: getsentry/action-enforce-license-compliance@main

.github/workflows/external-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
pull-requests: write
1414
contents: write
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616
if: |
1717
github.event.pull_request.merged == true
1818
&& github.event.pull_request.author_association != 'COLLABORATOR'

.github/workflows/flaky-test-detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
flaky-detector:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727
timeout-minutes: 60
2828
name: 'Check tests for flakiness'
2929
# Also skip if PR is from master -> develop

.github/workflows/gitflow-sync-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
main:
1919
name: Create PR master->develop
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
permissions:
2222
pull-requests: write
2323
contents: write

.github/workflows/release-comment-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# This workflow is triggered when a release is published
1313
jobs:
1414
release-comment-issues:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616
name: 'Notify issues'
1717
steps:
1818
- name: Get version

.github/workflows/release-size-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# It fetches the size-limit info from the release branch and adds it to the release
1414
jobs:
1515
release-size-info:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-22.04
1717
name: 'Add size-limit info to release'
1818

1919
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
default: master
1515
jobs:
1616
release:
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1818
name: 'Release a new version'
1919
steps:
2020
- name: Get auth token

0 commit comments

Comments
 (0)