Skip to content

fix docker compose #3664

fix docker compose

fix docker compose #3664

Triggered via push September 25, 2023 16:10
Status Failure
Total duration 2m 50s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

33 errors
test
Process completed with exit code 1.
[golangci] runtime/kubernetes/mock.go#L145: runtime/kubernetes/mock.go#L145
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
[golangci] runtime/kubernetes/pod_tracker.go#L229: runtime/kubernetes/pod_tracker.go#L229
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
[golangci] cmd/vela-worker/operate.go#L23: cmd/vela-worker/operate.go#L23
Function 'operate' is too long (199 > 160) (funlen)
[golangci] cmd/vela-worker/exec.go#L300: cmd/vela-worker/exec.go#L300
Comment should end in a period (godot)
[golangci] runtime/kubernetes/apis/doc.go#L1: runtime/kubernetes/apis/doc.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
[golangci] internal/doc.go#L1: internal/doc.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
[golangci] internal/internal.go#L1: internal/internal.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
[golangci] mock/docker/service.go#L25: mock/docker/service.go#L25
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] mock/docker/image.go#L33: mock/docker/image.go#L33
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] mock/docker/swarm.go#L24: mock/docker/swarm.go#L24
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] runtime/kubernetes/container.go#L75: runtime/kubernetes/container.go#L75
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/linux.go#L56: executor/linux/linux.go#L56
`client` is unused (structcheck)
[golangci] cmd/vela-worker/exec.go#L229: cmd/vela-worker/exec.go#L229
unnecessary trailing newline (whitespace)
[golangci] cmd/vela-worker/exec.go#L230: cmd/vela-worker/exec.go#L230
block should not end with a whitespace (or comment) (wsl)
[golangci] cmd/vela-worker/operate.go#L52: cmd/vela-worker/operate.go#L52
expressions should not be cuddled with blocks (wsl)
[golangci] cmd/vela-worker/operate.go#L53: cmd/vela-worker/operate.go#L53
assignments should only be cuddled with other assignments (wsl)
[golangci] cmd/vela-worker/operate.go#L57: cmd/vela-worker/operate.go#L57
return statements should not be cuddled if block has more than two lines (wsl)
[golangci] cmd/vela-worker/operate.go#L54: cmd/vela-worker/operate.go#L54
only one cuddle assignment allowed before if statement (wsl)
[golangci] cmd/vela-worker/operate.go#L59: cmd/vela-worker/operate.go#L59
expressions should not be cuddled with blocks (wsl)
[golangci] cmd/vela-worker/operate.go#L63: cmd/vela-worker/operate.go#L63
only cuddled expressions if assigning variable or using from line above (wsl)
[golangci] cmd/vela-worker/operate.go#L79: cmd/vela-worker/operate.go#L79
only one cuddle assignment allowed before if statement (wsl)
[golangci] cmd/vela-worker/operate.go#L83: cmd/vela-worker/operate.go#L83
if statements should only be cuddled with assignments (wsl)
[golangci] cmd/vela-worker/operate.go#L89: cmd/vela-worker/operate.go#L89
return statements should not be cuddled if block has more than two lines (wsl)
[golangci] executor/linux/secret.go#L206: executor/linux/secret.go#L206
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/secret.go#L223: executor/linux/secret.go#L223
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/secret.go#L240: executor/linux/secret.go#L240
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/build.go#L41: executor/linux/build.go#L41
directive `//nolint:contextcheck // ignore passing context` is unused for linter "contextcheck" (nolintlint)
[golangci] executor/linux/build.go#L171: executor/linux/build.go#L171
directive `//nolint:contextcheck // ignore passing context` is unused for linter "contextcheck" (nolintlint)
[golangci] executor/linux/secret.go#L178: executor/linux/secret.go#L178
directive `//nolint:contextcheck // ignore passing context` is unused for linter "contextcheck" (nolintlint)
[golangci] executor/linux/secret.go#L190: executor/linux/secret.go#L190
directive `//nolint:staticcheck // reports the value is never used but we return it` is unused for linter "staticcheck" (nolintlint)
[golangci] executor/linux/service.go#L160: executor/linux/service.go#L160
directive `//nolint:funlen // ignore function length` is unused for linter "funlen" (nolintlint)
[golangci] executor/linux/step.go#L191: executor/linux/step.go#L191
directive `//nolint:funlen // ignore function length` is unused for linter "funlen" (nolintlint)