From f4165e9f8911a1bbf4a2e9c3ddfaf4840991fec2 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Wed, 2 Oct 2024 14:42:27 +0200 Subject: [PATCH] always save logs as artifacts --- .github/workflows/build_and_test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e0ebcbcd..e8b9ccb3 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -144,6 +144,12 @@ jobs: with: compose_file_path: test/community-docker-compose.yml + - name: Save containers logs (Community) + if: always() + uses: Alfresco/alfresco-build-tools/.github/actions/docker-dump-containers-logs@v6.0.1 + with: + output-archive-name: community-logs.tar.gz + - name: Verify docker-compose (enterprise) uses: Alfresco/alfresco-build-tools/.github/actions/dbp-charts/verify-compose@v6.0.1 timeout-minutes: 10 @@ -152,8 +158,11 @@ jobs: quay_username: ${{ secrets.QUAY_USERNAME }} quay_password: ${{ secrets.QUAY_PASSWORD }} - - uses: Alfresco/alfresco-build-tools/.github/actions/docker-dump-containers-logs@v6.0.0 - + - name: Save containers logs (Enterprise) + if: always() + uses: Alfresco/alfresco-build-tools/.github/actions/docker-dump-containers-logs@v6.0.1 + with: + output-archive-name: enterprise-logs.tar.gz helm-test: strategy: