From ae6d459a1add3966ffa4f4d43c9f96dd97918720 Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Thu, 23 Apr 2026 09:40:28 +0100 Subject: [PATCH] ci: fix postgres path for postgres 18 tests (2025.12) (#21767) (#21788) ci: fix postgres path for postgres 18 tests (#21767) * ci: test migrations-from-stable failing * fix postgres path --------- Signed-off-by: Jens Langhammer --- .github/actions/setup/docker-compose.yml | 2 +- .github/workflows/ci-main.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup/docker-compose.yml b/.github/actions/setup/docker-compose.yml index cf2d63844c..83e04eb366 100644 --- a/.github/actions/setup/docker-compose.yml +++ b/.github/actions/setup/docker-compose.yml @@ -2,7 +2,7 @@ services: postgresql: image: docker.io/library/postgres:${PSQL_TAG:-16} volumes: - - db-data:/var/lib/postgresql/data + - db-data:/var/lib/postgresql command: "-c log_statement=all" environment: POSTGRES_USER: authentik diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 2fd1664e59..7b617054d5 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -95,7 +95,10 @@ jobs: with: postgresql_version: ${{ matrix.psql }} - name: run migrations to stable - run: uv run python -m lifecycle.migrate + run: | + docker ps + docker logs setup-postgresql-1 + uv run python -m lifecycle.migrate - name: checkout current code run: | set -x