Skip to content

[8.14](backport #4908) Added k8s components to otel distribution #10195

[8.14](backport #4908) Added k8s components to otel distribution

[8.14](backport #4908) Added k8s components to otel distribution #10195

Triggered via pull request June 21, 2024 17:38
Status Failure
Total duration 4m 52s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 7 warnings
lint (ubuntu-latest): internal/pkg/agent/cmd/common.go#L1
: # github.com/elastic/elastic-agent/internal/pkg/agent/cmd [github.com/elastic/elastic-agent/internal/pkg/agent/cmd.test]
lint (ubuntu-latest): internal/pkg/agent/cmd/common.go#L81
undefined: newPrivilegedCommandWithArgs
lint (ubuntu-latest): internal/pkg/agent/cmd/common.go#L82
undefined: newUnprivilegedCommandWithArgs (typecheck)
lint (ubuntu-latest)
issues found
lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint (windows-latest)
The operation was canceled.
lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint (macos-latest): internal/pkg/agent/cmd/common.go#L1
: # github.com/elastic/elastic-agent/internal/pkg/agent/cmd [github.com/elastic/elastic-agent/internal/pkg/agent/cmd.test]
lint (macos-latest): internal/pkg/agent/cmd/common.go#L81
undefined: newPrivilegedCommandWithArgs
lint (macos-latest): internal/pkg/agent/cmd/common.go#L82
undefined: newUnprivilegedCommandWithArgs (typecheck)
lint (macos-latest)
issues found
lint (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (ubuntu-latest)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (ubuntu-latest)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows-latest)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows-latest)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (macos-latest)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (macos-latest)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']