feat: refactor reconcile and build, add more test case #119
ci.yml
on: pull_request
Set up Build
11s
markdown-lint
1m 27s
golang-lint
36s
Go Test
1m 2s
Annotations
11 errors and 4 warnings
golang-lint:
pkg/builder/config.go#L1
: # github.com/zncdatadev/operator-go/pkg/builder
|
golang-lint:
pkg/builder/vector.go#L363
undefined: NewGenericContainerBuilder (typecheck)
|
golang-lint:
pkg/reconciler/deployment.go#L6
could not import github.com/zncdatadev/operator-go/pkg/builder (-: # github.com/zncdatadev/operator-go/pkg/builder
|
golang-lint:
pkg/builder/vector.go#L363
undefined: NewGenericContainerBuilder) (typecheck)
|
golang-lint:
pkg/reconciler/deployment.go#L31
r.GetBuilder undefined (type *Deployment has no field or method GetBuilder) (typecheck)
|
golang-lint:
pkg/reconciler/deployment.go#L41
r.ResourceReconcile undefined (type *Deployment has no field or method ResourceReconcile) (typecheck)
|
golang-lint:
pkg/reconciler/deployment.go#L47
r.GetObjectMeta undefined (type *Deployment has no field or method GetObjectMeta) (typecheck)
|
golang-lint:
pkg/reconciler/deployment.go#L50
r.Client undefined (type *Deployment has no field or method Client) (typecheck)
|
golang-lint:
pkg/reconciler/resource.go#L52
r.Builder.GetObjectMeta undefined (type b has no field or method GetObjectMeta) (typecheck)
|
golang-lint:
pkg/reconciler/resource.go#L72
r.GetBuilder().Build undefined (type B has no field or method Build) (typecheck)
|
Go Test
Process completed with exit code 1.
|
Set up Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golang-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, 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/.
|
Go Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
markdown-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|