diff --git a/.github/workflows/docker-security-test-workflow.yml b/.github/workflows/docker-security-test-workflow.yml index 61727711f..3b7c47fb9 100644 --- a/.github/workflows/docker-security-test-workflow.yml +++ b/.github/workflows/docker-security-test-workflow.yml @@ -2,13 +2,13 @@ name: Docker Security Test Workflow on: pull_request: branches: - - "*" + - "**" push: branches: - - "*" + - "**" jobs: - test: + docker-test: # This job runs on Linux runs-on: ubuntu-latest steps: @@ -83,3 +83,17 @@ jobs: with: name: logs path: build/testclusters/integTest-*/logs/* + - name: Collect docker logs on failure + if: failure() + uses: jwalton/gh-docker-logs@v2 + with: + dest: './logs' + - name: Tar logs + if: failure() + run: tar cvzf ./logs.tgz ./logs + - name: Upload logs to GitHub + if: failure() + uses: actions/upload-artifact@v2 + with: + name: logs.tgz + path: ./logs.tgz diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 749044428..c4eb6cb76 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -3,13 +3,13 @@ name: Multi node test workflow on: pull_request: branches: - - "*" + - "**" push: branches: - - "*" + - "**" jobs: - test: + multi-node-test: # This job runs on Linux runs-on: ubuntu-latest steps: diff --git a/.github/workflows/security-test-workflow.yml b/.github/workflows/security-test-workflow.yml index 7fe56adfb..36bce3ef5 100644 --- a/.github/workflows/security-test-workflow.yml +++ b/.github/workflows/security-test-workflow.yml @@ -3,13 +3,13 @@ name: Security test workflow on: pull_request: branches: - - "*" + - "**" push: branches: - - "*" + - "**" jobs: - test: + security-test: # This job runs on Linux runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test-and-build-workflow.yml b/.github/workflows/test-and-build-workflow.yml index 33d32d12a..682342310 100644 --- a/.github/workflows/test-and-build-workflow.yml +++ b/.github/workflows/test-and-build-workflow.yml @@ -2,13 +2,13 @@ name: Test and Build Workflow on: pull_request: branches: - - "*" + - "**" push: branches: - - "*" + - "**" jobs: - build: + test-and-build: env: BUILD_ARGS: ${{ matrix.os_build_args }} WORKING_DIR: ${{ matrix.working_directory }}.