Skip to content

feat: add support to set labels without selector #7225

feat: add support to set labels without selector

feat: add support to set labels without selector #7225

Re-run triggered May 19, 2025 22:49
Status Failure
Total duration 3m 35s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
Test MacOS
Process completed with exit code 2.
Lint
Process completed with exit code 2.
Lint: kustomize/commands/edit/set/setlabel_test.go#L228
SA1019: m.CommonLabels is deprecated: Use the Labels field instead, which provides a superset of the functionality of CommonLabels. CommonLabels to add to all objects and selectors. (staticcheck)
Lint: kustomize/commands/edit/set/setlabel_test.go#L222
SA1019: m.CommonLabels is deprecated: Use the Labels field instead, which provides a superset of the functionality of CommonLabels. CommonLabels to add to all objects and selectors. (staticcheck)
Lint: kustomize/commands/edit/set/setlabel_test.go#L210
SA1019: m.CommonLabels is deprecated: Use the Labels field instead, which provides a superset of the functionality of CommonLabels. CommonLabels to add to all objects and selectors. (staticcheck)
Lint: kustomize/commands/edit/set/setlabel_test.go#L205
SA1019: m.CommonLabels is deprecated: Use the Labels field instead, which provides a superset of the functionality of CommonLabels. CommonLabels to add to all objects and selectors. (staticcheck)
Lint: kustomize/commands/edit/set/setlabel.go#L131
SA1019: m.CommonLabels is deprecated: Use the Labels field instead, which provides a superset of the functionality of CommonLabels. CommonLabels to add to all objects and selectors. (staticcheck)
Lint: kustomize/commands/edit/set/setlabel.go#L93
G601: Implicit memory aliasing in for loop. (gosec)
Test Linux
Process completed with exit code 2.
check-synced-go-modules
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum
Test Windows
Restore cache failed: Dependencies file is not found in D:\a\kustomize\kustomize. Supported file pattern: go.sum
Test MacOS
Restore cache failed: Dependencies file is not found in /Users/runner/work/kustomize/kustomize. Supported file pattern: go.sum
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum
Test Linux
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum