Skip to content

deps: update module sigs.k8s.io/controller-runtime to v0.18.2 #8649

deps: update module sigs.k8s.io/controller-runtime to v0.18.2

deps: update module sigs.k8s.io/controller-runtime to v0.18.2 #8649

Triggered via pull request May 9, 2024 21:59
Status Failure
Total duration 2m 27s
Artifacts

golangci-lint.yml

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

Annotations

31 errors and 4 warnings
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L223
w.Spec.AppName undefined (type KeptnWorkloadVersionSpec has no field or method AppName) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L225
w.Spec.Version undefined (type KeptnWorkloadVersionSpec has no field or method Version) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L232
w.Spec.AppName undefined (type KeptnWorkloadVersionSpec has no field or method AppName) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L234
w.Spec.Version undefined (type KeptnWorkloadVersionSpec has no field or method Version) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L242
w.Spec.AppName undefined (type KeptnWorkloadVersionSpec has no field or method AppName) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L244
w.Spec.Version undefined (type KeptnWorkloadVersionSpec has no field or method Version) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L254
w.Spec.PreDeploymentTasks undefined (type KeptnWorkloadVersionSpec has no field or method PreDeploymentTasks) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L258
w.Spec.PostDeploymentTasks undefined (type KeptnWorkloadVersionSpec has no field or method PostDeploymentTasks) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L270
w.Spec.PreDeploymentEvaluations undefined (type KeptnWorkloadVersionSpec has no field or method PreDeploymentEvaluations) (typecheck)
golangci-lint (scheduler, scheduler/): scheduler/test/e2e/fake/v1alpha4/keptnworkloadversion_types.go#L274
w.Spec.PostDeploymentEvaluations undefined (type KeptnWorkloadVersionSpec has no field or method PostDeploymentEvaluations) (typecheck)
golangci-lint (certificate-operator, keptn-cert-manager/)
golangci-lint exit with code 3
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/common/eventsender/eventsender.go#L142
cannot infer M2 (/home/runner/go/pkg/mod/golang.org/x/exp@v0.0.0-20240416160154-fe59bbe5cc7f/maps/maps.go:81:24) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/common/phase/handler.go#L77
r.Status undefined (type Handler has no field or method Status) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/common/task/handler.go#L160
cannot infer M1 (/home/runner/go/pkg/mod/golang.org/x/exp@v0.0.0-20240416160154-fe59bbe5cc7f/maps/maps.go:81:11) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnapp/controller.go#L73
r.Get undefined (type *KeptnAppReconciler has no field or method Get) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnapp/controller.go#L89
r.Get undefined (type *KeptnAppReconciler has no field or method Get) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnapp/controller.go#L93
r.Get undefined (type *KeptnAppReconciler has no field or method Get) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnappcreationrequest/controller.go#L79
r.Get undefined (type *KeptnAppCreationRequestReconciler has no field or method Get) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnappcreationrequest/controller.go#L92
r.Get undefined (type *KeptnAppCreationRequestReconciler has no field or method Get) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnappcreationrequest/controller.go#L105
r.Delete undefined (type *KeptnAppCreationRequestReconciler has no field or method Delete) (typecheck)
golangci-lint (lifecycle-operator, lifecycle-operator/): lifecycle-operator/controllers/lifecycle/keptnappcreationrequest/controller.go#L132
r.Delete undefined (type *KeptnAppCreationRequestReconciler has no field or method Delete) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L46
cmd.Flags undefined (type *MetricsAdapter has no field or method Flags) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L47
cmd.Flags undefined (type *MetricsAdapter has no field or method Flags) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L51
cmd.CustomMetricsAdapterServerOptions undefined (type *MetricsAdapter has no field or method CustomMetricsAdapterServerOptions) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L52
cmd.CustomMetricsAdapterServerOptions undefined (type *MetricsAdapter has no field or method CustomMetricsAdapterServerOptions) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L59
cmd.WithCustomMetrics undefined (type *MetricsAdapter has no field or method WithCustomMetrics) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L61
cmd.Run undefined (type *MetricsAdapter has no field or method Run) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/cmd/metrics/adapter/adapter.go#L68
a.DynamicClient undefined (type *MetricsAdapter has no field or method DynamicClient) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/controllers/analysis/controller.go#L122
a.Evaluate undefined (type *AnalysisReconciler has no field or method Evaluate) (typecheck)
golangci-lint (metrics-operator, metrics-operator/): metrics-operator/pkg/metrics/server.go#L21
"k8s.io/apimachinery/pkg/api/errors" imported as k8serrors and not used (typecheck)
golangci-lint (scheduler, scheduler/)
Restore cache failed: Dependencies file is not found in /home/runner/work/lifecycle-toolkit/lifecycle-toolkit. Supported file pattern: go.sum
golangci-lint (certificate-operator, keptn-cert-manager/)
Restore cache failed: Dependencies file is not found in /home/runner/work/lifecycle-toolkit/lifecycle-toolkit. Supported file pattern: go.sum
golangci-lint (lifecycle-operator, lifecycle-operator/)
Restore cache failed: Dependencies file is not found in /home/runner/work/lifecycle-toolkit/lifecycle-toolkit. Supported file pattern: go.sum
golangci-lint (metrics-operator, metrics-operator/)
Restore cache failed: Dependencies file is not found in /home/runner/work/lifecycle-toolkit/lifecycle-toolkit. Supported file pattern: go.sum