Skip to content

ci: Pin used ubuntu version for runners to 20.04 #6429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ env:
jobs:
job_get_metadata:
name: Get Metadata
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
pull-requests: read
steps:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
job_install_deps:
name: Install Dependencies
needs: job_get_metadata
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
- name: 'Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})'
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
job_build:
name: Build
needs: [job_get_metadata, job_install_deps]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
needs: [job_get_metadata, job_build]
# only upload the zipped layer file if we're about to release
if: startsWith(github.ref, 'refs/heads/release/')
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v3
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
name: Size Check
needs: [job_get_metadata, job_build]
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# Size Check will error out outside of the context of a PR
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
steps:
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
# inter-package dependencies resolve cleanly.
needs: [job_get_metadata, job_build]
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v3
Expand All @@ -290,7 +290,7 @@ jobs:
name: Circular Dependency Check
needs: [job_get_metadata, job_build]
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v3
Expand All @@ -314,7 +314,7 @@ jobs:
job_artifacts:
name: Upload Artifacts
needs: [job_get_metadata, job_build]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# Build artifacts are only needed for releasing workflow.
if: startsWith(github.ref, 'refs/heads/release/')
steps:
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
name: Test (Node ${{ matrix.node }})
needs: [job_get_metadata, job_build]
timeout-minutes: 30
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_nextjs == 'true' || github.event_name != 'pull_request'
timeout-minutes: 30
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_ember == 'true' || github.event_name != 'pull_request'
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -467,7 +467,7 @@ jobs:
name: Playwright - ${{ (matrix.tracing_only && 'Browser + Tracing') || 'Browser' }} (${{ matrix.bundle }})
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
bundle:
Expand Down Expand Up @@ -517,7 +517,7 @@ jobs:
name: Old Browser Integration Tests (${{ matrix.browser }})
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_browser == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
fail-fast: false
Expand Down Expand Up @@ -554,7 +554,7 @@ jobs:
job_browser_build_tests:
name: Browser Build Tests
needs: [job_get_metadata, job_build]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
Expand Down Expand Up @@ -586,7 +586,7 @@ jobs:
name: Node SDK Integration Tests (${{ matrix.node }})
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_node == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
fail-fast: false
Expand Down Expand Up @@ -622,7 +622,7 @@ jobs:
name: Remix SDK Integration Tests (${{ matrix.node }})
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
fail-fast: false
Expand Down Expand Up @@ -662,7 +662,7 @@ jobs:
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
github.actor != 'dependabot[bot]'
needs: [job_get_metadata, job_build]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
Expand Down Expand Up @@ -710,7 +710,7 @@ jobs:
]
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
job_canary_test:
name: Run Canary Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- name: 'Check out current commit'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enforce-license-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
enforce-license-compliance:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: 'Enforce License Compliance'
uses: getsentry/action-enforce-license-compliance@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: false
jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: 'Release a new version'
steps:
- uses: actions/checkout@v3
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on:
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1
with:
repo-token: ${{ github.token }}
days-before-stale: 21
days-before-close: 7
only-labels: ""
only-labels: ''
operations-per-run: 100
remove-stale-when-updated: true
debug-only: false
ascending: false

exempt-issue-labels: "Status: Backlog,Status: In Progress"
stale-issue-label: "Status: Stale"
exempt-issue-labels: 'Status: Backlog,Status: In Progress'
stale-issue-label: 'Status: Stale'
stale-issue-message: |-
This issue has gone three weeks without activity. In another week, I will close it.

Expand All @@ -29,11 +29,11 @@ jobs:

"A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀
skip-stale-issue-message: false
close-issue-label: ""
close-issue-message: ""
close-issue-label: ''
close-issue-message: ''

exempt-pr-labels: "Status: Backlog,Status: In Progress"
stale-pr-label: "Status: Stale"
exempt-pr-labels: 'Status: Backlog,Status: In Progress'
stale-pr-label: 'Status: Stale'
stale-pr-message: |-
This pull request has gone three weeks without activity. In another week, I will close it.

Expand All @@ -44,4 +44,4 @@ jobs:
"A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀
skip-stale-pr-message: false
close-pr-label:
close-pr-message: ""
close-pr-message: ''
2 changes: 1 addition & 1 deletion packages/replay/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion packages/replay/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: 'Release a new version'
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 2 additions & 3 deletions packages/replay/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "size"
name: 'size'
on:
pull_request:
branches:
- main
jobs:
size:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CI_JOB_NUMBER: 1
steps:
Expand All @@ -25,4 +25,3 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build:prod