From 29b1e3700963adc8a29ca2efa8196b3562476330 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 2 Jan 2022 17:21:50 +0200 Subject: [PATCH 1/5] Added ability to download E2E results after build --- .github/workflows/ci-build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index c3bf974b1a62..e783795a4846 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -122,6 +122,11 @@ jobs: - name: cat argo.log if: ${{ failure() }} run: cat /tmp/log/argo-e2e/argo.log + - name: Upload e2e-controller logs + uses: actions/upload-artifact@v2 + with: + name: e2e.log + path: /tmp/log/argo-e2e/argo.log codegen: name: Codegen From a43e62ecbf67cd7373b4d54a1a8cc45513d59e32 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 2 Jan 2022 17:54:27 +0200 Subject: [PATCH 2/5] Added ability to download E2E results after build --- .github/workflows/ci-build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index e783795a4846..3819fbec9a52 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -112,21 +112,21 @@ jobs: echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts echo '127.0.0.1 mysql' | sudo tee -a /etc/hosts - run: make install controller cli $(go env GOPATH)/bin/goreman PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info - - run: make start PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info UI=false > /tmp/log/argo-e2e/argo.log 2>&1 & + - run: make start PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info UI=false > /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log 2>&1 & timeout-minutes: 4 - name: make argoexec-image run: make argoexec-image STATIC_FILES=false - run: make wait timeout-minutes: 4 - run: make ${{matrix.test}} E2E_TIMEOUT=1m STATIC_FILES=false - - name: cat argo.log + - name: e2e results if: ${{ failure() }} - run: cat /tmp/log/argo-e2e/argo.log + run: cat /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log - name: Upload e2e-controller logs uses: actions/upload-artifact@v2 with: - name: e2e.log - path: /tmp/log/argo-e2e/argo.log + name: e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log + path: /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log codegen: name: Codegen From df86271ddca93a8ddb6f4deaa22d8d9b47a9c813 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 2 Jan 2022 18:14:01 +0200 Subject: [PATCH 3/5] Added ability to download E2E results after build --- .github/workflows/ci-build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 3819fbec9a52..c4207519a965 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -119,14 +119,14 @@ jobs: - run: make wait timeout-minutes: 4 - run: make ${{matrix.test}} E2E_TIMEOUT=1m STATIC_FILES=false - - name: e2e results - if: ${{ failure() }} - run: cat /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log - - name: Upload e2e-controller logs + - name: Upload e2e results uses: actions/upload-artifact@v2 with: name: e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log path: /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log + - name: show e2e results + if: ${{ failure() }} + run: cat /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log codegen: name: Codegen From 2b593520d0a4ff02920f6f98267f9188b71013ff Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 3 Jan 2022 14:18:47 +0200 Subject: [PATCH 4/5] Added ability to download E2E results after build --- .github/workflows/ci-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index c4207519a965..7d01bf8f085a 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -119,7 +119,7 @@ jobs: - run: make wait timeout-minutes: 4 - run: make ${{matrix.test}} E2E_TIMEOUT=1m STATIC_FILES=false - - name: Upload e2e results + - name: Upload e2e results # Codefresh changes uses: actions/upload-artifact@v2 with: name: e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log From c8752618a705e79b92003e294df5c7405a62f858 Mon Sep 17 00:00:00 2001 From: Daniel Haimov Date: Mon, 10 Jan 2022 12:08:36 +0200 Subject: [PATCH 5/5] added ability to download E2E results after build --- .github/workflows/ci-build.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 2282ac400a16..37a4af47839c 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -130,13 +130,18 @@ jobs: echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts echo '127.0.0.1 mysql' | sudo tee -a /etc/hosts - run: make install controller cli $(go env GOPATH)/bin/goreman PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info - - run: make start PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info UI=false > /tmp/log/argo-e2e/argo.log 2>&1 & + - run: make start PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info UI=false > /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log 2>&1 & - run: make wait timeout-minutes: 4 - run: make ${{matrix.test}} E2E_TIMEOUT=1m STATIC_FILES=false - - name: cat argo.log + - name: Upload e2e results # Codefresh changes + uses: actions/upload-artifact@v2 + with: + name: e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log + path: /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log + - name: show e2e results if: ${{ failure() }} - run: cat /tmp/log/argo-e2e/argo.log + run: cat /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log - name: MinIO logs if: ${{ failure() }} run: kubectl -n argo logs deploy/minio