Skip to content

Add a util to self sign cert and update to WebhookConfiguration #112

Add a util to self sign cert and update to WebhookConfiguration

Add a util to self sign cert and update to WebhookConfiguration #112

Re-run triggered July 6, 2024 07:53
Status Failure
Total duration 2m 4s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 6 warnings
Golang Lint: webhook/cert/signer.go#L32
File is not `goimports`-ed with -local kusionstack.io/kube-utils (goimports)
Golang Lint: webhook/cert/signer.go#L205
`(*WebhookCertSelfSigner).ensureWebhookConfiguration` - `ctx` is unused (unparam)
Golang Lint: webhook/cert/signer_test.go#L46
var `request` is unused (unused)
Golang Lint: webhook/cert/fs.go#L81
shadow: declaration of "certs" shadows declaration at line 75 (govet)
Golang Lint: webhook/cert/secret.go#L75
shadow: declaration of "certs" shadows declaration at line 61 (govet)
Golang Lint
issues found
Unit Test
Process completed with exit code 2.
Secret Scan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Golang Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
License Check
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
License Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/