Skip to content

policies: widen allowed filepaths #2357

policies: widen allowed filepaths

policies: widen allowed filepaths #2357

Triggered via pull request March 22, 2024 09:37
Status Failure
Total duration 5m 7s
Artifacts

tests.yml

on: pull_request
πŸ›ƒ Unit tests
4m 52s
πŸ›ƒ Unit tests
πŸ›ƒ Unit tests (CentOS Stream 9)
3m 19s
πŸ›ƒ Unit tests (CentOS Stream 9)
πŸ›ƒ Unit tests (CentOS Stream 8)
3m 52s
πŸ›ƒ Unit tests (CentOS Stream 8)
⌨ Lint
38s
⌨ Lint
πŸ” Check source preparation
41s
πŸ” Check source preparation
🐚 Shellcheck
5s
🐚 Shellcheck
🐍 pytest (imgtestlib)
58s
🐍 pytest (imgtestlib)
🐍 Lint (test scripts)
50s
🐍 Lint (test scripts)
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 3 warnings
⌨ Lint: pkg/distro/fedora/imagetype.go#L19
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
⌨ Lint: pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
⌨ Lint: pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
⌨ Lint: pkg/distro/rhel7/imagetype.go#L16
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
⌨ Lint: pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
⌨ Lint: pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
⌨ Lint: pkg/distro/distro_test.go#L615
cannot infer S (vendor/golang.org/x/exp/slices/slices.go:116:1) (typecheck)
⌨ Lint: pkg/distro/rhel8/imagetype.go#L22
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
⌨ Lint: pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
⌨ Lint: pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
πŸ›ƒ Unit tests (CentOS Stream 9)
Process completed with exit code 1.
πŸ›ƒ Unit tests (CentOS Stream 8)
Process completed with exit code 1.
πŸ›ƒ Unit tests
Process completed with exit code 1.
🐚 Shellcheck
Input 'ignore' has been deprecated with message: Use ignore_paths or ignore_names instead.
⌨ Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/images/images. Supported file pattern: go.sum
πŸ” Check source preparation
Restore cache failed: Dependencies file is not found in /home/runner/work/images/images. Supported file pattern: go.sum