Skip to content

Support custom certificates in metrics server #6693

Support custom certificates in metrics server

Support custom certificates in metrics server #6693

Triggered via pull request December 11, 2024 14:13
Status Failure
Total duration 3m 22s
Artifacts

ci.yaml

on: pull_request
yamllint  /  yamllint
12s
yamllint / yamllint
golangci-lint  /  golangci-lint
1m 36s
golangci-lint / golangci-lint
exclude-fmt-errorf  /  exclude-fmt-errorf
5s
exclude-fmt-errorf / exclude-fmt-errorf
restrict-nsm-deps  /  restrict-nsm-deps
3s
restrict-nsm-deps / restrict-nsm-deps
checkgomod  /  checkgomod
46s
checkgomod / checkgomod
gogenerate  /  gogenerate
32s
gogenerate / gogenerate
exclude-replace  /  excludereplace
3s
exclude-replace / excludereplace
Matrix: build-and-test / build-and-test
Matrix: code-cov
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 11 warnings
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L107
Error return value of `s.monitorCertificate` is not checked (errcheck)
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L215
Error return value of `certHandler.LoadCertificateAuthority` is not checked (errcheck)
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L245
Error return value of `watcher.Close` is not checked (errcheck)
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L257
shadow: declaration of "err" shadows declaration at line 236 (govet)
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L265
shadow: declaration of "err" shadows declaration at line 236 (govet)
golangci-lint / golangci-lint
issues found
build-and-test / build-and-test (ubuntu-latest)
Process completed with exit code 1.
build-and-test / build-and-test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
build-and-test / build-and-test (windows-latest)
The operation was canceled.
build-and-test / build-and-test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
build-and-test / build-and-test (macos-latest)
The operation was canceled.
code-cov (macos-latest)
Process completed with exit code 1.
exclude-replace / excludereplace
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
restrict-nsm-deps / restrict-nsm-deps
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exclude-fmt-errorf / exclude-fmt-errorf
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
yamllint / yamllint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
gogenerate / gogenerate
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checkgomod / checkgomod
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint / golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L39
exported: comment on exported type Server should be of the form "Server ..." (with optional leading article) (revive)
golangci-lint / golangci-lint: pkg/tools/prometheus/server.go#L76
exported: exported function WithCertificateMonitoring should have comment or be unexported (revive)
build-and-test / build-and-test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-cov (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636