From 2bc73cebb5919b88155502584ff0b64c2b5da7c8 Mon Sep 17 00:00:00 2001 From: 0xPatrick Date: Fri, 20 Dec 2024 16:56:06 -0500 Subject: [PATCH] chore: slog.slog in ci artifacts --- .github/workflows/multichain-e2e-template.yml | 7 +++++++ multichain-testing/.gitignore | 2 ++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/multichain-e2e-template.yml b/.github/workflows/multichain-e2e-template.yml index 58455e3b9b4..32cc3f6594a 100644 --- a/.github/workflows/multichain-e2e-template.yml +++ b/.github/workflows/multichain-e2e-template.yml @@ -102,6 +102,13 @@ jobs: env: FILE: ${{ inputs.config }} + - name: Capture slog.slog + if: always() + run: | + cd $GITHUB_WORKSPACE + echo "Capturing agoric slog.slog" + kubectl exec -i agoriclocal-genesis-0 -c validator -- cat slog.slog > "${LOG_DIR}/slog.slog" 2>&1 || true + - name: Capture validator logs if: always() run: | diff --git a/multichain-testing/.gitignore b/multichain-testing/.gitignore index a59e6798973..1d6079098c9 100644 --- a/multichain-testing/.gitignore +++ b/multichain-testing/.gitignore @@ -6,3 +6,5 @@ starship-chain-info.js start* # builder prefix for core evals eval-* +# ci logs for archive upload +logs/