fix: gateway api conformance tests
This commit is contained in:
parent
a3ac456199
commit
21da705ec9
2 changed files with 11 additions and 1 deletions
6
.github/workflows/test-conformance.yaml
vendored
6
.github/workflows/test-conformance.yaml
vendored
|
@ -34,5 +34,9 @@ jobs:
|
|||
- name: Build binary
|
||||
run: make binary
|
||||
|
||||
- name: Setcap
|
||||
run: |
|
||||
sudo setcap 'cap_net_bind_service=+ep' dist/linux/amd64/traefik
|
||||
|
||||
- name: K8s Gateway API conformance test
|
||||
run: sudo make test-gateway-api-conformance
|
||||
run: make test-gateway-api-conformance-ci
|
||||
|
|
6
Makefile
6
Makefile
|
@ -104,6 +104,12 @@ test-integration: binary
|
|||
test-gateway-api-conformance: binary
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) go test ./integration -v -test.run K8sConformanceSuite -k8sConformance=true $(TESTFLAGS)
|
||||
|
||||
## TODO: Need to be fixed to work in all situations.
|
||||
## Run the conformance tests
|
||||
.PHONY: test-gateway-api-conformance-ci
|
||||
test-gateway-api-conformance-ci:
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) go test ./integration -v -test.run K8sConformanceSuite -k8sConformance=true $(TESTFLAGS)
|
||||
|
||||
## Pull all Docker images to avoid timeout during integration tests
|
||||
.PHONY: pull-images
|
||||
pull-images:
|
||||
|
|
Loading…
Reference in a new issue