Skip to content

Commit a6b10db

Browse files
authored
Changes for Ubuntu 22 (#499)
* use ubuntu 22.04 for github actions workflows * use postgres 13 and postgis 3 in github actions
1 parent c9e815d commit a6b10db

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/CI-build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
jobs:
77
build-and-test:
88
name: Build/Test
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
services:
1111
postgres:
12-
image: postgis/postgis:11-2.5
12+
image: postgis/postgis:13-3.2
1313
env:
1414
POSTGRES_USER: postgres
1515
POSTGRES_PASSWORD: postgres
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20.x'
27+
node-version: 20.15.1
2828

2929
- name: Configure sysctl limits
3030
run: |
@@ -36,7 +36,7 @@ jobs:
3636
- name: Runs Elasticsearch
3737
uses: miyataka/elastic-github-actions/elasticsearch@feature/plugin_support
3838
with:
39-
stack-version: 8.9.0
39+
stack-version: 8.15.3
4040
plugins: analysis-kuromoji
4141

4242
- name: Elasticsearch is reachable

.github/workflows/CI-pre-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
pre-build:
88
name: Pre-build
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- uses: fkirc/skip-duplicate-actions@master
1212
with:

.github/workflows/CICD-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build-and-push-dev-docker-image:
1818
name: Build/Push Dev Docker Image
1919
needs: pre-build
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
steps:
2222
- uses: actions/checkout@v4
2323

@@ -62,7 +62,7 @@ jobs:
6262
refresh-dev-staging-deployment:
6363
name: Refresh Dev Staging Deployment
6464
needs: build-and-push-dev-docker-image
65-
runs-on: ubuntu-20.04
65+
runs-on: ubuntu-22.04
6666
steps:
6767
- name: Refresh Dev inaturalistapi
6868
uses: actions/github-script@v6
@@ -89,7 +89,7 @@ jobs:
8989
name: Notify Slack
9090
needs: build-and-push-dev-docker-image
9191
if: ${{ success() || failure() }}
92-
runs-on: ubuntu-20.04
92+
runs-on: ubuntu-22.04
9393
steps:
9494
- uses: iRoachie/slack-github-actions@v2.3.2
9595
if: env.SLACK_WEBHOOK_URL != null

.github/workflows/CICD-main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build-and-push-main-docker-image:
1717
name: Build/Push Main Docker Image
1818
needs: pre-build
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-22.04
2020
steps:
2121
- uses: actions/checkout@v4
2222

@@ -65,7 +65,7 @@ jobs:
6565
refresh-main-staging-deployment:
6666
name: Refresh Main Staging Deployment
6767
needs: build-and-push-main-docker-image
68-
runs-on: ubuntu-20.04
68+
runs-on: ubuntu-22.04
6969
steps:
7070
- name: Refresh Main inaturalistapi
7171
uses: actions/github-script@v6
@@ -92,7 +92,7 @@ jobs:
9292
name: Notify Slack
9393
needs: build-and-push-main-docker-image
9494
if: ${{ success() || failure() }}
95-
runs-on: ubuntu-20.04
95+
runs-on: ubuntu-22.04
9696
steps:
9797
- uses: iRoachie/slack-github-actions@v2.3.2
9898
if: env.SLACK_WEBHOOK_URL != null

.github/workflows/CICD-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Notify Slack
1212
needs: build-and-test
1313
if: ${{ success() || failure() }}
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- uses: iRoachie/slack-github-actions@v2.3.2
1717
if: env.SLACK_WEBHOOK_URL != null

0 commit comments

Comments
 (0)