Skip to content

Add anti-affinity for envoy deployed by provisioner #9393

Add anti-affinity for envoy deployed by provisioner

Add anti-affinity for envoy deployed by provisioner #9393

Triggered via pull request February 1, 2024 00:28
Status Failure
Total duration 2m 34s
Artifacts

prbuild.yaml

on: pull_request
build-image
0s
build-image
test-linux
0s
test-linux
test-osx
0s
test-osx
gateway-conformance
0s
gateway-conformance
Matrix: e2e
Matrix: upgrade
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/provisioner/controller/gateway.go#L25
could not import github.com/projectcontour/contour/internal/provisioner/objects/dataplane (-: # github.com/projectcontour/contour/internal/provisioner/objects/dataplane
lint: internal/provisioner/objects/dataplane/dataplane.go#L437
cannot use int32(100) (constant 100 of type int32) as "k8s.io/api/core/v1".WeightedPodAffinityTerm value in array or slice literal
lint: internal/provisioner/objects/dataplane/dataplane.go#L439
unknown field LabelSelector in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}
lint: internal/provisioner/objects/dataplane/dataplane.go#L440
unknown field TopologyKey in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}) (typecheck)
lint: internal/provisioner/equality/equality_test.go#L21
could not import github.com/projectcontour/contour/internal/provisioner/objects/dataplane (-: # github.com/projectcontour/contour/internal/provisioner/objects/dataplane
lint: internal/provisioner/objects/dataplane/dataplane.go#L437
cannot use int32(100) (constant 100 of type int32) as "k8s.io/api/core/v1".WeightedPodAffinityTerm value in array or slice literal
lint: internal/provisioner/objects/dataplane/dataplane.go#L439
unknown field LabelSelector in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}
lint: internal/provisioner/objects/dataplane/dataplane.go#L440
unknown field TopologyKey in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}) (typecheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.