Skip to content

Commit ea2562d

Browse files
committed
Revert "Use ubuntu-22.04 in all workflows"
This reverts commit 463db36.
1 parent 463db36 commit ea2562d

11 files changed

+21
-21
lines changed

.github/workflows/backend-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Runs pytest for backend code
2727
tests:
2828
name: Unit test with pytest
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-latest
3030

3131
steps:
3232
- name: Checkout Repo
@@ -59,7 +59,7 @@ jobs:
5959
6060
lints:
6161
name: Linting with Black
62-
runs-on: ubuntu-22.04
62+
runs-on: ubuntu-20.04
6363

6464
steps:
6565
- name: Checkout Repo

.github/workflows/dataworkflow-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Runs pytest for data-workflows code
2727
tests:
2828
name: Unit test with pytest
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-latest
3030

3131
steps:
3232
- name: Checkout Repo
@@ -57,7 +57,7 @@ jobs:
5757

5858
lints:
5959
name: Linting with Black
60-
runs-on: ubuntu-22.04
60+
runs-on: ubuntu-20.04
6161

6262
steps:
6363
- name: Checkout Repo

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
jobs:
2020
prod:
2121
name: deploy to production
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-latest
2323
if: github.repository == 'chanzuckerberg/napari-hub' && startsWith(github.ref, 'refs/tags/v')
2424
steps:
2525
- name: Configure AWS Credentials
@@ -48,7 +48,7 @@ jobs:
4848
operation: 'create-or-update'
4949

5050
lighthouse-ci:
51-
runs-on: ubuntu-22.04
51+
runs-on: ubuntu-latest
5252
needs: prod
5353
steps:
5454
- uses: actions/checkout@v3
@@ -70,7 +70,7 @@ jobs:
7070
defaults:
7171
run:
7272
working-directory: frontend/
73-
runs-on: ubuntu-22.04
73+
runs-on: ubuntu-latest
7474
needs: prod # Needs the production deploy to happen first before E2E tests can be ran
7575

7676
steps:
@@ -136,7 +136,7 @@ jobs:
136136
defaults:
137137
run:
138138
working-directory: frontend/
139-
runs-on: ubuntu-22.04
139+
runs-on: ubuntu-latest
140140
needs: prod-e2e-setup
141141

142142
concurrency:

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727
jobs:
2828
e2e-setup:
2929
name: E2E Setup
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-latest
3131

3232
steps:
3333
- name: Checkout Repo
@@ -93,7 +93,7 @@ jobs:
9393

9494
e2e:
9595
name: E2E tests ${{ matrix.browser }} ${{ matrix.shardCurrent }} / ${{ matrix.shardTotal }}
96-
runs-on: ubuntu-22.04
96+
runs-on: ubuntu-latest
9797
needs: e2e-setup
9898

9999
concurrency:

.github/workflows/enforce-labels.yml

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

1616
jobs:
1717
checkLabels:
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v2

.github/workflows/frontend-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# formatting, best practices, and run unit/integration tests.
2525
tests:
2626
name: ${{ matrix.name }}
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-20.04
2828

2929
steps:
3030
- name: Checkout Repo

.github/workflows/nh-commons-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Runs pytest for napari-hub-commons code
2525
tests:
2626
name: Unit test with pytest
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-20.04
2828

2929
steps:
3030
- name: Checkout Repo
@@ -54,7 +54,7 @@ jobs:
5454

5555
lints:
5656
name: Linting with Black
57-
runs-on: ubuntu-22.04
57+
runs-on: ubuntu-20.04
5858

5959
steps:
6060
- name: Checkout Repo

.github/workflows/plugins-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Runs pytest for backend code
2727
tests:
2828
name: Unit test with pytest
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-latest
3030

3131
steps:
3232
- name: Checkout Repo
@@ -59,7 +59,7 @@ jobs:
5959
6060
lints:
6161
name: Linting with Black
62-
runs-on: ubuntu-22.04
62+
runs-on: ubuntu-20.04
6363

6464
steps:
6565
- name: Checkout Repo

.github/workflows/push-rdev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
jobs:
2424
create-update-dev:
2525
name: deploy dev branch
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-latest
2727
if: github.repository == 'chanzuckerberg/napari-hub'
2828
steps:
2929
- name: Configure AWS Credentials
@@ -76,7 +76,7 @@ jobs:
7676

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

.github/workflows/release-notes.yml

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

1616
jobs:
1717
release_notes:
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-latest
1919

2020
permissions:
2121
contents: write

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
pr-release-comment:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212

1313
steps:
1414
- name: Checkout
@@ -22,7 +22,7 @@ jobs:
2222
commentOnPRs({github, context, core});
2323
2424
slack-notify:
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-latest
2626

2727
steps:
2828
- name: Notify Slack of Release

0 commit comments

Comments
 (0)