Make pipeline green again #8705
pr.yaml
on: pull_request
Matrix: CI Test JS
Matrix: CI Test Go
Matrix: CI Check Static Checks
CI Generate Image Tag
0s
release
6s
Matrix: CI Build Gitops Docker Image
PR CI Pipeline
0s
Annotations
10 errors and 9 warnings
CI Check Static Checks (1.23.X, 16.X):
pkg/sourceignore/sourceignore.go#L124
emptyStringTest: replace `len(strings.TrimSpace(s)) > 0` with `strings.TrimSpace(s) != ""` (gocritic)
|
CI Check Static Checks (1.23.X, 16.X):
pkg/logger/s3_log_writer.go#L48
emptyStringTest: replace `len(msg) > 0` with `msg != ""` (gocritic)
|
CI Check Static Checks (1.23.X, 16.X):
pkg/utils/string.go#L18
builtinShadow: shadowing of predeclared identifier: min (gocritic)
|
CI Check Static Checks (1.23.X, 16.X):
pkg/utils/string.go#L36
builtinShadow: shadowing of predeclared identifier: min (gocritic)
|
CI Check Static Checks (1.23.X, 16.X):
pkg/server/auth/claims.go#L59
emptyStringTest: replace `len(s) > 0` with `s != ""` (gocritic)
|
CI Check Static Checks (1.23.X, 16.X):
pkg/services/auth/internal/verifier.go#L17
builtinShadow: shadowing of predeclared identifier: min (gocritic)
|
CI Check Static Checks (1.23.X, 16.X):
pkg/http/server.go#L75
printf: non-constant format string in call to (*log.Logger).Printf (govet)
|
CI Check Static Checks (1.23.X, 16.X):
core/server/events.go#L99
printf: non-constant format string in call to google.golang.org/grpc/status.Errorf (govet)
|
CI Check Static Checks (1.23.X, 16.X):
core/server/events.go#L101
printf: non-constant format string in call to google.golang.org/grpc/status.Errorf (govet)
|
CI Check Static Checks (1.23.X, 16.X):
core/server/sync_test.go#L221
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
CI Generate Image Tag
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build Gitops Docker Image (gitops)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
CI Test JS (16.X)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
CI Check Static Checks (1.23.X, 16.X)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
CI Build Gitops Docker Image (gitops-server)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
CI Test Go (1.23.X)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Publish js library
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Publish js library
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "gitops", "gitops-server".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
gitops
|
54.9 MB |
|
gitops-server
|
41.1 MB |
|