Skip to content

Commit

Permalink
[1.16] ci: Add run attempt to artifact name (#10512)
Browse files Browse the repository at this point in the history
Co-authored-by: changelog-bot <changelog-bot>
Co-authored-by: Andy Fong <[email protected]>
  • Loading branch information
davidjumani and andy-fong authored Dec 24, 2024
1 parent be022ec commit 77f16ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ runs:
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: performance-dump
name: performance-dump-attempt-${{ github.run_attempt }}
path: "_output/performance-artifacts"
if-no-files-found: warn
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ runs:
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: ${{matrix.kube-e2e-test-type}}@k8s${{matrix.kube-version.kubectl}}-kube-dump
name: ${{matrix.kube-e2e-test-type}}-attempt-${{ github.run_attempt }}@k8s${{matrix.kube-version.kubectl}}-kube-dump
path: "_output/kube2e-artifacts"
if-no-files-found: warn
7 changes: 7 additions & 0 deletions changelog/v1.16.24/run-attempt-116.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changelog:
- type: NON_USER_FACING
description: >-
Add run attempt to test result upload to ensure a unique name per artifact
skipCI-kube-tests:true
skipCI-docs-build:true

0 comments on commit 77f16ce

Please sign in to comment.