Skip to content

deps: update github.com/keptn/lifecycle-toolkit/klt-cert-manager digest to b7a1d29 - autoclosed #152

deps: update github.com/keptn/lifecycle-toolkit/klt-cert-manager digest to b7a1d29 - autoclosed

deps: update github.com/keptn/lifecycle-toolkit/klt-cert-manager digest to b7a1d29 - autoclosed #152

Triggered via pull request November 15, 2023 10:20
Status Failure
Total duration 2m 9s
Artifacts

golangci-lint.yml

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

Annotations

40 errors and 2 warnings
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (certificate-operator, klt-cert-manager/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (scheduler, scheduler/)
Cannot open: File exists
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptntaskdefinition/controller.go#L24
could not import github.com/keptn/lifecycle-toolkit/lifecycle-operator/apis/lifecycle/v1alpha3 (-: # github.com/keptn/lifecycle-toolkit/lifecycle-operator/apis/lifecycle/v1alpha3
golangci-lint (lifecycle-operator, lifecycle-operator/)
cannot use &KeptnTaskDefinition{} (value of type *KeptnTaskDefinition) as admission.Validator value in variable declaration: *KeptnTaskDefinition does not implement admission.Validator (wrong type for method ValidateCreate)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnworkload/controller.go#L24
could not import github.com/keptn/lifecycle-toolkit/lifecycle-operator/apis/lifecycle/v1alpha3 (-: # github.com/keptn/lifecycle-toolkit/lifecycle-operator/apis/lifecycle/v1alpha3
golangci-lint (lifecycle-operator, lifecycle-operator/)
cannot use &KeptnTaskDefinition{} (value of type *KeptnTaskDefinition) as admission.Validator value in variable declaration: *KeptnTaskDefinition does not implement admission.Validator (wrong type for method ValidateCreate)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/main.go#L34
could not import github.com/keptn/lifecycle-toolkit/lifecycle-operator/apis/lifecycle/v1alpha3 (-: # github.com/keptn/lifecycle-toolkit/lifecycle-operator/apis/lifecycle/v1alpha3
golangci-lint (lifecycle-operator, lifecycle-operator/)
cannot use &KeptnTaskDefinition{} (value of type *KeptnTaskDefinition) as admission.Validator value in variable declaration: *KeptnTaskDefinition does not implement admission.Validator (wrong type for method ValidateCreate)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/main.go#L144
unknown field MetricsBindAddress in struct literal of type manager.Options (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/main.go#L145
unknown field Port in struct literal of type manager.Options (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/main.go#L160
unknown field ClientDisableCacheFor in struct literal of type manager.Options (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/main.go#L343
undefined: webhook.NewWebhookBuilder (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L34
could not import github.com/keptn/lifecycle-toolkit/metrics-operator/api/v1alpha3 (-: # github.com/keptn/lifecycle-toolkit/metrics-operator/api/v1alpha3
golangci-lint (metrics-operator, metrics-operator/)
cannot use &AnalysisDefinition{} (value of type *AnalysisDefinition) as admission.Validator value in variable declaration: *AnalysisDefinition does not implement admission.Validator (wrong type for method ValidateCreate)
golangci-lint (metrics-operator, metrics-operator/)
cannot use &KeptnMetric{} (value of type *KeptnMetric) as admission.Validator value in variable declaration: *KeptnMetric does not implement admission.Validator (wrong type for method ValidateCreate)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L103
unknown field MetricsBindAddress in struct literal of type manager.Options (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L104
unknown field Port in struct literal of type manager.Options (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L119
unknown field ClientDisableCacheFor in struct literal of type manager.Options (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L160
undefined: webhook.NewWebhookBuilder (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L164
undefined: webhook.NewWebhookManagerProvider (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L165
mgr.GetWebhookServer().CertDir undefined (type "sigs.k8s.io/controller-runtime/pkg/webhook".Server has no field or method CertDir) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/main.go#L170
mgr.GetWebhookServer().CertDir undefined (type "sigs.k8s.io/controller-runtime/pkg/webhook".Server has no field or method CertDir) (typecheck)
golangci-lint (certificate-operator, klt-cert-manager/)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint (scheduler, scheduler/)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2