From 8952066ecb6eaaeab7eb0a832a5006f2395b0bec Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Fri, 7 May 2021 17:50:39 -0700 Subject: [PATCH] circleci: Save the postgres logs as artifacts --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 821238dfae..6010afb28f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -165,6 +165,11 @@ jobs: du -sh /tmp/test_output/* for DIR in /tmp/test_output/*; do mv $DIR/repo/pageserver.log $DIR/ || true # ignore errors + for PGDIR in $DIR/repo/pgdatadirs/pg?; do + echo "PGDIR: $PGDIR" + NEW_LOG="${PGDIR##*/}_log" + mv $PGDIR/log "$DIR/$NEW_LOG" || true # ignore errors + done echo "rm $DIR/repo" rm -rf $DIR/repo done