From f37465033053cf807d65b14c4156d7bfb78d43b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Fri, 30 Jun 2023 14:01:12 +0200 Subject: [PATCH] Postgres upgrade (#3062) * Update list to the last 3 versions of postgres * Update postgres prod version --- .github/workflows/elixir.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 1393778dd..4931f65eb 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - postgres_version: [12, 13, 14] + postgres_version: [13, 14, 15] services: postgres: diff --git a/Makefile b/Makefile index 6d160559b..44ed827f1 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,10 @@ clickhouse-stop: ## Stop and remove the clickhouse container PG_FLAGS ?= --detach -e POSTGRES_PASSWORD="postgres" -p 5432:5432 --name plausible_db postgres: ## Start a container with a recent version of postgres - docker run $(PG_FLAGS) --volume=plausible_db:/var/lib/postgresql/data postgres:14-alpine + docker run $(PG_FLAGS) --volume=plausible_db:/var/lib/postgresql/data postgres:latest postgres-prod: ## Start a container with the same version of postgres as the one in prod - docker run $(PG_FLAGS) --volume=plausible_db_prod:/var/lib/postgresql/data postgres:12 + docker run $(PG_FLAGS) --volume=plausible_db_prod:/var/lib/postgresql/data postgres:15 postgres-stop: ## Stop and remove the postgres container docker stop plausible_db && docker rm plausible_db