[WIP] GH-110 use CRD validation #354
ci.yaml
on: pull_request
lint
1m 39s
Verify code
1m 11s
Verify manifests
39s
Verify bundle
1m 6s
Verify imports
27s
Verify generate
41s
Verify go.mod
11s
Unit Test Suite
1m 23s
Integration Test Suite
1m 30s
Annotations
25 errors and 1 warning
Verify generate
Process completed with exit code 2.
|
Verify code:
api/v1alpha1/zz_generated.deepcopy.go#L167
in.Endpoint undefined (type *Endpoint has no field or method Endpoint)
|
Verify code:
api/v1alpha1/zz_generated.deepcopy.go#L168
in.Endpoint undefined (type *Endpoint has no field or method Endpoint)
|
Verify code:
api/v1alpha1/zz_generated.deepcopy.go#L168
out.Endpoint undefined (type *Endpoint has no field or method Endpoint)
|
Verify code
Process completed with exit code 2.
|
Unit Test Suite:
internal/controller/dnsrecord_controller.go#L138
dnsRecord.Validate undefined (type *"github.com/kuadrant/dns-operator/api/v1alpha1".DNSRecord has no field or method Validate)
|
Unit Test Suite:
internal/controller/dnsrecord_controller.go#L428
cannot use []*externaldnsendpoint.Endpoint{} (value of type []*endpoint.Endpoint) as []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint value in assignment
|
Unit Test Suite:
internal/controller/dnsrecord_controller.go#L438
cannot use dnsRecord.Spec.Endpoints (variable of type []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as []*endpoint.Endpoint value in argument to registry.AdjustEndpoints
|
Unit Test Suite:
internal/controller/dnsrecord_controller.go#L444
cannot use dnsRecord.Status.Endpoints (variable of type []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as []*endpoint.Endpoint value in argument to registry.AdjustEndpoints
|
Unit Test Suite:
internal/controller/dnsrecord_healthchecks.go#L42
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to provider.GetExternalAddresses
|
Unit Test Suite:
internal/controller/dnsrecord_healthchecks.go#L48
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to healthCheckReconciler.Delete
|
Unit Test Suite:
internal/controller/dnsrecord_healthchecks.go#L58
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to idForEndpoint
|
Unit Test Suite:
internal/controller/dnsrecord_healthchecks.go#L73
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to healthCheckReconciler.Reconcile
|
Unit Test Suite:
internal/controller/managedzone_controller.go#L281
cannot use []*externaldns.Endpoint{…} (value of type []*endpoint.Endpoint) as []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint value in struct literal
|
Unit Test Suite
Process completed with exit code 2.
|
Integration Test Suite:
internal/controller/dnsrecord_controller.go#L138
dnsRecord.Validate undefined (type *"github.com/kuadrant/dns-operator/api/v1alpha1".DNSRecord has no field or method Validate)
|
Integration Test Suite:
internal/controller/dnsrecord_controller.go#L428
cannot use []*externaldnsendpoint.Endpoint{} (value of type []*endpoint.Endpoint) as []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint value in assignment
|
Integration Test Suite:
internal/controller/dnsrecord_controller.go#L438
cannot use dnsRecord.Spec.Endpoints (variable of type []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as []*endpoint.Endpoint value in argument to registry.AdjustEndpoints
|
Integration Test Suite:
internal/controller/dnsrecord_controller.go#L444
cannot use dnsRecord.Status.Endpoints (variable of type []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as []*endpoint.Endpoint value in argument to registry.AdjustEndpoints
|
Integration Test Suite:
internal/controller/dnsrecord_healthchecks.go#L42
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to provider.GetExternalAddresses
|
Integration Test Suite:
internal/controller/dnsrecord_healthchecks.go#L48
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to healthCheckReconciler.Delete
|
Integration Test Suite:
internal/controller/dnsrecord_healthchecks.go#L58
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to idForEndpoint
|
Integration Test Suite:
internal/controller/dnsrecord_healthchecks.go#L73
cannot use dnsEndpoint (variable of type *"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint) as *endpoint.Endpoint value in argument to healthCheckReconciler.Reconcile
|
Integration Test Suite:
internal/controller/managedzone_controller.go#L281
cannot use []*externaldns.Endpoint{…} (value of type []*endpoint.Endpoint) as []*"github.com/kuadrant/dns-operator/api/v1alpha1".Endpoint value in struct literal
|
Integration Test Suite
Process completed with exit code 2.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
|