-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test report once at the end of the build
Issue: ZENKO-4876
- Loading branch information
1 parent
94dc966
commit 06f587e
Showing
3 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,20 @@ runs: | |
- name: Publish test report | ||
uses: mikepenz/action-junit-report@v4 | ||
with: | ||
check_name: ${{ inputs.stage}} | ||
annotate_only: true | ||
check_name: ${{ inputs.stage }} | ||
job_summary: false | ||
report_paths: ${{ inputs.junit-paths }} | ||
continue-on-error: true | ||
|
||
- name: Upload test reports | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.stage }}-test-report | ||
path: ${{ inputs.junit-paths }} | ||
overwrite: true | ||
retention-days: 5 | ||
|
||
- name: Upload results | ||
if: inputs.trunk_token && job.status != 'cancelled' | ||
uses: trunk-io/[email protected] | ||
|
@@ -61,7 +71,7 @@ runs: | |
kind export logs /tmp/artifacts/data/${STAGE}/kind-logs/kind-export; | ||
tar zcvf /tmp/artifacts/${{ github.sha }}-${STAGE}-logs-volumes.tgz /tmp/artifacts/data/${STAGE}/kind-logs; | ||
env: | ||
STAGE: ${{ inputs.stage }} | ||
STAGE: ${{ inputs.stage }}.${{ github.run_attempt }} | ||
continue-on-error: true | ||
|
||
- name: Dump kafka | ||
|
@@ -91,7 +101,7 @@ runs: | |
kcat -L -b ${KAFKA_SERVICE} -t {} -C -o beginning -e -q -J \ | ||
> /tmp/artifacts/data/${STAGE}/kafka-messages-{}.log" | ||
env: | ||
STAGE: ${{ inputs.stage }} | ||
STAGE: ${{ inputs.stage }}.${{ github.run_attempt }} | ||
NAMESPACE: ${{ inputs.zenko-namespace }} | ||
ZENKO_NAME: ${{ inputs.zenko-name }} | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters