mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
feat(infra): Use Postgres 17 for dev and test (#9215)
Upgrades dev and test envs to use Postgres 17. Related: #5442
This commit is contained in:
2
.github/actions/setup-postgres/action.yml
vendored
2
.github/actions/setup-postgres/action.yml
vendored
@@ -2,7 +2,7 @@ name: "Setup Postgres"
|
||||
description: "Starts a Postgres container"
|
||||
inputs:
|
||||
version:
|
||||
default: "latest"
|
||||
default: "17"
|
||||
description: "Postgres version"
|
||||
required: false
|
||||
port:
|
||||
|
||||
6
.github/workflows/_elixir.yml
vendored
6
.github/workflows/_elixir.yml
vendored
@@ -17,8 +17,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: ./.github/actions/setup-postgres
|
||||
with:
|
||||
version: 15
|
||||
- uses: ./.github/actions/setup-elixir
|
||||
with:
|
||||
mix_env: ${{ env.MIX_ENV }}
|
||||
@@ -124,8 +122,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: ./.github/actions/setup-postgres
|
||||
with:
|
||||
version: 15
|
||||
- uses: ./.github/actions/setup-elixir
|
||||
with:
|
||||
mix_env: ${{ env.MIX_ENV }}
|
||||
@@ -179,8 +175,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: ./.github/actions/setup-postgres
|
||||
with:
|
||||
version: 15
|
||||
- uses: nanasess/setup-chromedriver@e93e57b843c0c92788f22483f1a31af8ee48db25 # v2.3.0
|
||||
- run: |
|
||||
export DISPLAY=:99
|
||||
|
||||
@@ -2,7 +2,7 @@ services:
|
||||
# Dependencies
|
||||
postgres:
|
||||
# TODO: Enable pgaudit on dev instance. See https://github.com/pgaudit/pgaudit/issues/44#issuecomment-455090262
|
||||
image: postgres:15
|
||||
image: postgres:17
|
||||
command: ["postgres", "-c", "wal_level=logical"]
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
|
||||
Reference in New Issue
Block a user