Support custom certificates in metrics server #6693
ci.yaml
on: pull_request
yamllint
/
yamllint
12s
golangci-lint
/
golangci-lint
1m 36s
exclude-fmt-errorf
/
exclude-fmt-errorf
5s
restrict-nsm-deps
/
restrict-nsm-deps
3s
checkgomod
/
checkgomod
46s
gogenerate
/
gogenerate
32s
exclude-replace
/
excludereplace
3s
Matrix: build-and-test / build-and-test
Matrix: code-cov
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
|