Skip to content

Backend build for script automation #20430

Backend build for script automation

Backend build for script automation #20430

Triggered via pull request October 1, 2024 22:34
Status Failure
Total duration 21m 58s
Artifacts

test-packaging.yml

on: pull_request
Matrix: test-packaging
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
test-packaging (ubuntu-latest): server/service/client.go#L749
undefined: teamScripts
test-packaging (ubuntu-latest): server/service/client.go#L1463
declared and not used: teamsScripts
test-packaging (ubuntu-latest): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-packaging (ubuntu-latest): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
test-packaging (ubuntu-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (wrong type for method BatchSetScripts)
test-packaging (ubuntu-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (wrong type for method BatchSetScripts)
test-packaging (ubuntu-latest)
Process completed with exit code 2.
test-packaging (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, 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/
test-packaging (macos-13)
Received request to deprovision: The request was cancelled by the remote provider.
test-packaging (macos-13)
Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag. To silence this message, use the `--formula` flag.
test-packaging (macos-13)
python@3.12 3.12.6 is already installed and up-to-date. To reinstall 3.12.6, run: brew reinstall python@3.12