Skip to content

feat: add GrafanaLibraryPanel CRD and reconciler #2811

feat: add GrafanaLibraryPanel CRD and reconciler

feat: add GrafanaLibraryPanel CRD and reconciler #2811

Triggered via pull request February 24, 2025 09:06
Status Failure
Total duration 3m 40s
Artifacts

pr-validation.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
go-lint: controllers/librarypanel_controller.go#L202
Error return value of `(sigs.k8s.io/controller-runtime/pkg/client.SubResourceWriter).Update` is not checked (errcheck)
go-lint: controllers/librarypanel_controller.go#L284
Error return value of `grafanaClient.LibraryElements.GetLibraryElementByUID` is not checked (errcheck)
go-lint: controllers/content/fetchers/url_fetcher.go#L50
SA1019: metrics.DashboardUrlRequests is deprecated: will be removed in a future version of the operator. Use ContentUrlRequests instead, which handles more types of resources that directly utilize Grafana model JSON. (staticcheck)
go-lint
issues found
test: controllers/librarypanel_controller.go#L202
Error return value of `(sigs.k8s.io/controller-runtime/pkg/client.SubResourceWriter).Update` is not checked (errcheck)
test: controllers/librarypanel_controller.go#L284
Error return value of `grafanaClient.LibraryElements.GetLibraryElementByUID` is not checked (errcheck)
test: controllers/content/fetchers/url_fetcher.go#L50
SA1019: metrics.DashboardUrlRequests is deprecated: will be removed in a future version of the operator. Use ContentUrlRequests instead, which handles more types of resources that directly utilize Grafana model JSON. (staticcheck)
test
Process completed with exit code 2.
kustomize
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.6-7bb7d81d748ba4a59bf823e1def71a4955fb6e0a6caa8e55f676424d8bc2434e
helm
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
helm
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.6-7bb7d81d748ba4a59bf823e1def71a4955fb6e0a6caa8e55f676424d8bc2434e
go-lint
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.6-7bb7d81d748ba4a59bf823e1def71a4955fb6e0a6caa8e55f676424d8bc2434e
test
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.6-7bb7d81d748ba4a59bf823e1def71a4955fb6e0a6caa8e55f676424d8bc2434e