Skip to content
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

Use ubuntu-22.04 in all workflows #1332

Merged
merged 1 commit into from
Jan 13, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Runs pytest for backend code
tests:
name: Unit test with pytest
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

lints:
name: Linting with Black
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dataworkflow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Runs pytest for data-workflows code
tests:
name: Unit test with pytest
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

lints:
name: Linting with Black
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
jobs:
prod:
name: deploy to production
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'chanzuckerberg/napari-hub' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Configure AWS Credentials
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
operation: 'create-or-update'

lighthouse-ci:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: prod
steps:
- uses: actions/checkout@v3
Expand All @@ -70,7 +70,7 @@ jobs:
defaults:
run:
working-directory: frontend/
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: prod # Needs the production deploy to happen first before E2E tests can be ran

steps:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
defaults:
run:
working-directory: frontend/
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: prod-e2e-setup

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
jobs:
e2e-setup:
name: E2E Setup
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

e2e:
name: E2E tests ${{ matrix.browser }} ${{ matrix.shardCurrent }} / ${{ matrix.shardTotal }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: e2e-setup

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
checkLabels:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# formatting, best practices, and run unit/integration tests.
tests:
name: ${{ matrix.name }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nh-commons-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Runs pytest for napari-hub-commons code
tests:
name: Unit test with pytest
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

lints:
name: Linting with Black
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/plugins-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Runs pytest for backend code
tests:
name: Unit test with pytest
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

lints:
name: Linting with Black
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-rdev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
create-update-dev:
name: deploy dev branch
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'chanzuckerberg/napari-hub'
steps:
- name: Configure AWS Credentials
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

# Runs behave tests for backend code
bdd-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: create-update-dev
if: ${{ github.event_name == 'push' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

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

permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
pr-release-comment:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand All @@ -22,7 +22,7 @@ jobs:
commentOnPRs({github, context, core});

slack-notify:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Notify Slack of Release
Expand Down
Loading