Skip to content

Commit e874ec1

Browse files
Merge pull request #89 from codefresh-io/CR-8501
Add ability to download E2E results after build
2 parents 9011409 + c875261 commit e874ec1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci-build.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,18 @@ jobs:
130130
echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts
131131
echo '127.0.0.1 mysql' | sudo tee -a /etc/hosts
132132
- 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
133-
- 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 &
133+
- 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 &
134134
- run: make wait
135135
timeout-minutes: 4
136136
- run: make ${{matrix.test}} E2E_TIMEOUT=1m STATIC_FILES=false
137-
- name: cat argo.log
137+
- name: Upload e2e results # Codefresh changes
138+
uses: actions/upload-artifact@v2
139+
with:
140+
name: e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log
141+
path: /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log
142+
- name: show e2e results
138143
if: ${{ failure() }}
139-
run: cat /tmp/log/argo-e2e/argo.log
144+
run: cat /tmp/log/argo-e2e/e2e-${{matrix.test}}-${{matrix.containerRuntimeExecutor}}-${{matrix.profile}}.log
140145
- name: MinIO logs
141146
if: ${{ failure() }}
142147
run: kubectl -n argo logs deploy/minio

0 commit comments

Comments
 (0)