Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@ RUN if [ -d src/bin/pgaftest ]; then \
fi

RUN make -s clean && make -s install -j$(nproc) BINDIR=/usr/local/bin
# On failure, dump every *.diffs file: the container (and with it
# src/monitor/regression.diffs) is discarded once the build fails, so this
# is the only way a CI log ends up showing what actually differed instead
# of just the postmaster log tail.
RUN pg_virtualenv -v ${PGVERSION} \
-o "shared_preload_libraries=pgautofailover" \
make -C src/monitor/ installcheck
make -C src/monitor/ installcheck || \
(find src/monitor -name '*.diffs' -exec cat {} +; exit 1)

# ---------------------------------------------------------------------------
# test — old Python test runner (kept for compatibility; new tests use pgaftest)
Expand Down
Loading