Skip to content

Commit

Permalink
ci: unique artifact name for junit reports in kind workflow
Browse files Browse the repository at this point in the history
Due to some recent changes on GitHub's side, uploading the JUnit reports
on the second job to finish in the kind workflow will fail with:

    Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Avoid this from happing by giving the artifacts unique names.

Fixes #2222

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Jan 10, 2024
1 parent 5d50dab commit 0373ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: cilium-junits
name: cilium-junits-helm-upgrade-clustermesh
path: cilium-junit*.xml
retention-days: 2

Expand Down

0 comments on commit 0373ac9

Please sign in to comment.