Skip to content

Adding resource type roleMapping #13

Adding resource type roleMapping

Adding resource type roleMapping #13

Triggered via pull request July 24, 2024 01:33
Status Failure
Total duration 3m 19s
Artifacts

ci.yaml

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

Annotations

11 errors and 5 warnings
go-test (1.22.x, ubuntu-latest): pkg/connector/internal_test.go#L50
cli.CreateUserMappingRole undefined (type *elastic.Client has no field or method CreateUserMappingRole)
go-test (1.22.x, ubuntu-latest): pkg/connector/internal_test.go#L85
cli.AddDeploymentRoleMapping undefined (type *elastic.Client has no field or method AddDeploymentRoleMapping)
go-test (1.22.x, ubuntu-latest): pkg/connector/internal_test.go#L110
cli.AddDeploymentRoleMapping undefined (type *elastic.Client has no field or method AddDeploymentRoleMapping)
go-test (1.22.x, ubuntu-latest)
Process completed with exit code 1.
go-lint: pkg/connector/connector.go#L1
: # github.com/conductorone/baton-elastic/pkg/connector [github.com/conductorone/baton-elastic/pkg/connector.test]
go-lint: pkg/connector/internal_test.go#L44
undefined: elastic.Roles
go-lint: pkg/connector/internal_test.go#L50
cli.CreateUserMappingRole undefined (type *elastic.Client has no field or method CreateUserMappingRole)
go-lint: pkg/connector/internal_test.go#L85
cli.AddDeploymentRoleMapping undefined (type *elastic.Client has no field or method AddDeploymentRoleMapping)
go-lint: pkg/connector/internal_test.go#L110
cli.AddDeploymentRoleMapping undefined (type *elastic.Client has no field or method AddDeploymentRoleMapping) (typecheck)
go-lint
issues found
go-test (1.22.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/golang-test-annotations@v0.5.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-test (1.22.x, ubuntu-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, guyarb/golang-test-annotations@v0.5.1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-elastic/baton-elastic. Supported file pattern: go.sum
go-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-elastic/baton-elastic. Supported file pattern: go.sum