Skip to content

Commit ed183d4

Browse files
authored
ci: Pin used ubuntu version for runners to 20.04 (#6429)
We got some test failures due to openssl stuff etc. due to ubuntu-latest being migrated to 22.04.
1 parent 65f220b commit ed183d4

File tree

9 files changed

+35
-36
lines changed

9 files changed

+35
-36
lines changed

Diff for: .github/workflows/build.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ env:
4444
jobs:
4545
job_get_metadata:
4646
name: Get Metadata
47-
runs-on: ubuntu-latest
47+
runs-on: ubuntu-20.04
4848
permissions:
4949
pull-requests: read
5050
steps:
@@ -121,7 +121,7 @@ jobs:
121121
job_install_deps:
122122
name: Install Dependencies
123123
needs: job_get_metadata
124-
runs-on: ubuntu-latest
124+
runs-on: ubuntu-20.04
125125
timeout-minutes: 15
126126
steps:
127127
- name: 'Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})'
@@ -150,7 +150,7 @@ jobs:
150150
job_build:
151151
name: Build
152152
needs: [job_get_metadata, job_install_deps]
153-
runs-on: ubuntu-latest
153+
runs-on: ubuntu-20.04
154154
timeout-minutes: 20
155155
steps:
156156
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -187,7 +187,7 @@ jobs:
187187
needs: [job_get_metadata, job_build]
188188
# only upload the zipped layer file if we're about to release
189189
if: startsWith(github.ref, 'refs/heads/release/')
190-
runs-on: ubuntu-latest
190+
runs-on: ubuntu-20.04
191191
steps:
192192
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
193193
uses: actions/checkout@v3
@@ -226,7 +226,7 @@ jobs:
226226
name: Size Check
227227
needs: [job_get_metadata, job_build]
228228
timeout-minutes: 15
229-
runs-on: ubuntu-latest
229+
runs-on: ubuntu-20.04
230230
# Size Check will error out outside of the context of a PR
231231
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
232232
steps:
@@ -265,7 +265,7 @@ jobs:
265265
# inter-package dependencies resolve cleanly.
266266
needs: [job_get_metadata, job_build]
267267
timeout-minutes: 10
268-
runs-on: ubuntu-latest
268+
runs-on: ubuntu-20.04
269269
steps:
270270
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
271271
uses: actions/checkout@v3
@@ -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-latest
293+
runs-on: ubuntu-20.04
294294
steps:
295295
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
296296
uses: actions/checkout@v3
@@ -314,7 +314,7 @@ jobs:
314314
job_artifacts:
315315
name: Upload Artifacts
316316
needs: [job_get_metadata, job_build]
317-
runs-on: ubuntu-latest
317+
runs-on: ubuntu-20.04
318318
# Build artifacts are only needed for releasing workflow.
319319
if: startsWith(github.ref, 'refs/heads/release/')
320320
steps:
@@ -350,7 +350,7 @@ jobs:
350350
name: Test (Node ${{ matrix.node }})
351351
needs: [job_get_metadata, job_build]
352352
timeout-minutes: 30
353-
runs-on: ubuntu-latest
353+
runs-on: ubuntu-20.04
354354
strategy:
355355
fail-fast: false
356356
matrix:
@@ -388,7 +388,7 @@ jobs:
388388
needs: [job_get_metadata, job_build]
389389
if: needs.job_get_metadata.outputs.changed_nextjs == 'true' || github.event_name != 'pull_request'
390390
timeout-minutes: 30
391-
runs-on: ubuntu-latest
391+
runs-on: ubuntu-20.04
392392
strategy:
393393
fail-fast: false
394394
matrix:
@@ -426,7 +426,7 @@ jobs:
426426
needs: [job_get_metadata, job_build]
427427
if: needs.job_get_metadata.outputs.changed_ember == 'true' || github.event_name != 'pull_request'
428428
timeout-minutes: 10
429-
runs-on: ubuntu-latest
429+
runs-on: ubuntu-20.04
430430
strategy:
431431
fail-fast: false
432432
matrix:
@@ -467,7 +467,7 @@ jobs:
467467
name: Playwright - ${{ (matrix.tracing_only && 'Browser + Tracing') || 'Browser' }} (${{ matrix.bundle }})
468468
needs: [job_get_metadata, job_build]
469469
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
470-
runs-on: ubuntu-latest
470+
runs-on: ubuntu-20.04
471471
strategy:
472472
matrix:
473473
bundle:
@@ -517,7 +517,7 @@ jobs:
517517
name: Old Browser Integration Tests (${{ matrix.browser }})
518518
needs: [job_get_metadata, job_build]
519519
if: needs.job_get_metadata.outputs.changed_browser == 'true' || github.event_name != 'pull_request'
520-
runs-on: ubuntu-latest
520+
runs-on: ubuntu-20.04
521521
timeout-minutes: 10
522522
strategy:
523523
fail-fast: false
@@ -554,7 +554,7 @@ jobs:
554554
job_browser_build_tests:
555555
name: Browser Build Tests
556556
needs: [job_get_metadata, job_build]
557-
runs-on: ubuntu-latest
557+
runs-on: ubuntu-20.04
558558
timeout-minutes: 5
559559
steps:
560560
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -586,7 +586,7 @@ jobs:
586586
name: Node SDK Integration Tests (${{ matrix.node }})
587587
needs: [job_get_metadata, job_build]
588588
if: needs.job_get_metadata.outputs.changed_node == 'true' || github.event_name != 'pull_request'
589-
runs-on: ubuntu-latest
589+
runs-on: ubuntu-20.04
590590
timeout-minutes: 10
591591
strategy:
592592
fail-fast: false
@@ -622,7 +622,7 @@ jobs:
622622
name: Remix SDK Integration Tests (${{ matrix.node }})
623623
needs: [job_get_metadata, job_build]
624624
if: needs.job_get_metadata.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
625-
runs-on: ubuntu-latest
625+
runs-on: ubuntu-20.04
626626
timeout-minutes: 10
627627
strategy:
628628
fail-fast: false
@@ -662,7 +662,7 @@ jobs:
662662
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
663663
github.actor != 'dependabot[bot]'
664664
needs: [job_get_metadata, job_build]
665-
runs-on: ubuntu-latest
665+
runs-on: ubuntu-20.04
666666
timeout-minutes: 10
667667
steps:
668668
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -710,7 +710,7 @@ jobs:
710710
]
711711
# Always run this, even if a dependent job failed
712712
if: always()
713-
runs-on: ubuntu-latest
713+
runs-on: ubuntu-20.04
714714
steps:
715715
- name: Check for failures
716716
if: contains(needs.*.result, 'failure')

Diff for: .github/workflows/canary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
job_canary_test:
2121
name: Run Canary Tests
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-20.04
2323
timeout-minutes: 30
2424
steps:
2525
- name: 'Check out current commit'

Diff for: .github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
jobs:
3030
analyze:
3131
name: Analyze
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-20.04
3333

3434
strategy:
3535
fail-fast: false

Diff for: .github/workflows/enforce-license-compliance.yml

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

99
jobs:
1010
enforce-license-compliance:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212
steps:
1313
- name: 'Enforce License Compliance'
1414
uses: getsentry/action-enforce-license-compliance@main

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
required: false
1414
jobs:
1515
release:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-20.04
1717
name: 'Release a new version'
1818
steps:
1919
- uses: actions/checkout@v3

Diff for: .github/workflows/stale.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ on:
55
workflow_dispatch:
66
jobs:
77
stale:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04
99
steps:
1010
- uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1
1111
with:
1212
repo-token: ${{ github.token }}
1313
days-before-stale: 21
1414
days-before-close: 7
15-
only-labels: ""
15+
only-labels: ''
1616
operations-per-run: 100
1717
remove-stale-when-updated: true
1818
debug-only: false
1919
ascending: false
2020

21-
exempt-issue-labels: "Status: Backlog,Status: In Progress"
22-
stale-issue-label: "Status: Stale"
21+
exempt-issue-labels: 'Status: Backlog,Status: In Progress'
22+
stale-issue-label: 'Status: Stale'
2323
stale-issue-message: |-
2424
This issue has gone three weeks without activity. In another week, I will close it.
2525
@@ -29,11 +29,11 @@ jobs:
2929
3030
"A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀
3131
skip-stale-issue-message: false
32-
close-issue-label: ""
33-
close-issue-message: ""
32+
close-issue-label: ''
33+
close-issue-message: ''
3434

35-
exempt-pr-labels: "Status: Backlog,Status: In Progress"
36-
stale-pr-label: "Status: Stale"
35+
exempt-pr-labels: 'Status: Backlog,Status: In Progress'
36+
stale-pr-label: 'Status: Stale'
3737
stale-pr-message: |-
3838
This pull request has gone three weeks without activity. In another week, I will close it.
3939
@@ -44,4 +44,4 @@ jobs:
4444
"A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀
4545
skip-stale-pr-message: false
4646
close-pr-label:
47-
close-pr-message: ""
47+
close-pr-message: ''

Diff for: packages/replay/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build:
1111
name: build
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v3
1515

Diff for: packages/replay/workflows/release.yml

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

1313
jobs:
1414
release:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-20.04
1616
name: 'Release a new version'
1717
steps:
1818
- uses: actions/checkout@v2

Diff for: packages/replay/workflows/size.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: "size"
1+
name: 'size'
22
on:
33
pull_request:
44
branches:
55
- main
66
jobs:
77
size:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04
99
env:
1010
CI_JOB_NUMBER: 1
1111
steps:
@@ -25,4 +25,3 @@ jobs:
2525
with:
2626
github_token: ${{ secrets.GITHUB_TOKEN }}
2727
build_script: build:prod
28-

0 commit comments

Comments
 (0)