Skip to content

Commit 993bc83

Browse files
authored
Merge branch 'main' into sysdump-capture-top-nodes-pods
2 parents f86231c + 6ebed16 commit 993bc83

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

.github/actions/merge-artifacts/action.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ inputs:
1515
required: true
1616
description: 'If true, the artifacts that were merged will be deleted'
1717
default: 'true'
18+
separate-directories:
19+
required: false
20+
description: |
21+
If true, the artifacts will be merged into separate directories.
22+
If false, the artifacts will be merged into the root of the destination.
23+
default: 'false'
1824

1925
runs:
2026
using: composite
@@ -54,4 +60,4 @@ runs:
5460
pattern: ${{ inputs.pattern }}
5561
retention-days: 5
5662
delete-merged: ${{ inputs.delete-merged }}
57-
63+
separate-directories: ${{ inputs.separate-directories }}

.github/workflows/common-post-jobs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
name: features-tested
3939
pattern: features-tested-*
4040
token: ${{ secrets.GITHUB_TOKEN }}
41+
separate-directories: true
4142

4243
commit-status-final:
4344
if: ${{ always() }}

.github/workflows/conformance-ginkgo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ jobs:
530530
name: features-tested
531531
pattern: features-tested-*
532532
token: ${{ secrets.GITHUB_TOKEN }}
533+
separate-directories: true
533534

534535
commit-status-final:
535536
if: ${{ always() }}

.github/workflows/conformance-runtime.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ jobs:
562562
name: features-tested
563563
pattern: features-tested-*
564564
token: ${{ secrets.GITHUB_TOKEN }}
565+
separate-directories: true
565566

566567
commit-status-final:
567568
if: ${{ always() }}

cilium-cli/features/summary.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ func extractZip(zipPath, destDir string) error {
242242
}
243243
continue
244244
}
245+
// Create directories
246+
os.MkdirAll(filepath.Dir(destPath), os.ModePerm)
245247

246248
// Extract files
247249
destFile, err := os.OpenFile(destPath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode())

0 commit comments

Comments
 (0)