@@ -3,9 +3,9 @@ VERSION = 1.2.0 # NGF version
3
3
PREFIX = nginx-gateway-fabric
4
4
NGINX_PREFIX = $(PREFIX ) /nginx
5
5
NGINX_PLUS_PREFIX ?= $(PREFIX ) /nginx-plus
6
- GW_API_VERSION ?= 1.0 .0
6
+ GW_API_VERSION ?= 1.1 .0
7
7
GATEWAY_CLASS = nginx
8
- SUPPORTED_FEATURES = HTTPRouteQueryParamMatching,HTTPRouteMethodMatching,HTTPRoutePortRedirect,HTTPRouteSchemeRedirect,HTTPRouteHostRewrite,HTTPRoutePathRewrite,GatewayPort8080,HTTPRouteResponseHeaderModification
8
+ SUPPORTED_FEATURES = HTTPRouteQueryParamMatching,HTTPRouteMethodMatching,HTTPRoutePortRedirect,HTTPRouteSchemeRedirect,HTTPRouteHostRewrite,HTTPRoutePathRewrite,GatewayPort8080,HTTPRouteResponseHeaderModification,GRPCExactMethodMatching,GRPCRouteListenerHostnameMatching,GRPCRouteHeaderMatching
9
9
KIND_IMAGE ?= $(shell grep -m1 'FROM kindest/node' <tests/Dockerfile | awk -F'[ ]' '{print $$2}')
10
10
KIND_KUBE_CONFIG =$${HOME}/.kube/kind/config
11
11
CONFORMANCE_TAG = latest
@@ -16,10 +16,6 @@ PROVISIONER_MANIFEST=provisioner/provisioner.yaml
16
16
ENABLE_EXPERIMENTAL ?= false
17
17
.DEFAULT_GOAL := help
18
18
19
- ifeq ($(ENABLE_EXPERIMENTAL ) ,true)
20
- SUPPORTED_FEATURES +=,GRPCExactMethodMatching,GRPCRouteListenerHostnameMatching,GRPCRouteHeaderMatching
21
- endif
22
-
23
19
.PHONY : help
24
20
help : Makefile # # Display this help
25
21
@grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "; printf "Usage:\n\n make \033[36m<target>\033[0m\n\nTargets:\n\n"}; {printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}'
@@ -108,8 +104,14 @@ run-conformance-tests: ## Run conformance tests
108
104
bash scripts/check-pod-exit-code.sh
109
105
sed -e ' 1,/CONFORMANCE PROFILE/d' output.txt > conformance-profile.yaml
110
106
rm output.txt
111
- [ $( shell cat conformance-profile.yaml | yq ' .profiles[0].core.result' ) != " failure" ] \
112
- && [ $( shell cat conformance-profile.yaml | yq ' .profiles[0].extended.result' ) != " failure" ] || exit 2
107
+ grpc_core_result=` yq ' .profiles[0].core.result' conformance-profile.yaml` ; \
108
+ http_core_result=` yq ' .profiles[1].core.result' conformance-profile.yaml` ; \
109
+ http_extended_result=` yq ' .profiles[1].extended.result' conformance-profile.yaml` ; \
110
+ if [ " $$ grpc_core_result" != " failure" ] && [ " $$ http_core_result" != " failure" ] && [ " $$ http_extended_result" != " failure" ] ; then \
111
+ exit 0; \
112
+ else \
113
+ exit 2; \
114
+ fi
113
115
114
116
.PHONY : cleanup-conformance-tests
115
117
cleanup-conformance-tests : # # Clean up conformance tests fixtures
0 commit comments