Skip to content

✨ Refactor bottlerocket settings templates into go structs #39

✨ Refactor bottlerocket settings templates into go structs

✨ Refactor bottlerocket settings templates into go structs #39

Triggered via pull request August 6, 2024 20:23
Status Failure
Total duration 4m 47s
Artifacts

pr-golangci-lint.yaml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 12 warnings
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (hack/tools)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint: util/secret/consts.go#L55
exported: exported const ManagedExternalEtcdCA should have comment (or a comment on this block) or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L28
exported: type name will be used as bottlerocket.BottlerocketConfig by other packages, and that stutters; consider calling this Config (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L67
exported: exported type InitSettingsInput should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L71
exported: exported type InitSettings should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L78
exported: exported type NetworkSettings should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L84
exported: exported type BottlerocketKernelSettings should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L88
exported: exported type BottlerocketBootSettings should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L93
exported: exported type KubernetesSettings should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bootstrap.go#L1
package-comments: package comment should be of the form "Package bottlerocket ..." (revive)
lint (test)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2