Skip to content

Backend build for script automation #10174

Backend build for script automation

Backend build for script automation #10174

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

fleetctl-preview-latest.yml

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

Annotations

8 errors and 2 warnings
test-preview (ubuntu-latest)
Process completed with exit code 14.
test-preview (ubuntu-latest): server/service/client.go#L749
undefined: teamScripts
test-preview (ubuntu-latest): server/service/client.go#L1463
declared and not used: teamsScripts
test-preview (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-preview (ubuntu-latest): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
test-preview (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-preview (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-preview (ubuntu-latest)
Process completed with exit code 2.
test-preview (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, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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: "ubuntu-latest-log". 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
ubuntu-latest-log
0 Bytes