Skip to content

Commit 77f16ce

Browse files
[1.16] ci: Add run attempt to artifact name (#10512)
Co-authored-by: changelog-bot <changelog-bot> Co-authored-by: Andy Fong <[email protected]>
1 parent be022ec commit 77f16ce

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/composite-actions/performance-tests/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ runs:
1515
- uses: actions/upload-artifact@v4
1616
if: ${{ failure() }}
1717
with:
18-
name: performance-dump
18+
name: performance-dump-attempt-${{ github.run_attempt }}
1919
path: "_output/performance-artifacts"
2020
if-no-files-found: warn

.github/workflows/composite-actions/regression-tests/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ runs:
3939
- uses: actions/upload-artifact@v4
4040
if: ${{ failure() }}
4141
with:
42-
name: ${{matrix.kube-e2e-test-type}}@k8s${{matrix.kube-version.kubectl}}-kube-dump
42+
name: ${{matrix.kube-e2e-test-type}}-attempt-${{ github.run_attempt }}@k8s${{matrix.kube-version.kubectl}}-kube-dump
4343
path: "_output/kube2e-artifacts"
4444
if-no-files-found: warn
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
changelog:
2+
- type: NON_USER_FACING
3+
description: >-
4+
Add run attempt to test result upload to ensure a unique name per artifact
5+
6+
skipCI-kube-tests:true
7+
skipCI-docs-build:true

0 commit comments

Comments
 (0)