Skip to content

Commit d943b50

Browse files
authored
Replace yq with sed (#2062)
Problem: yq is not installed by default in all systems Solution: Replace it with sed, which is more popular
1 parent cb72c25 commit d943b50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ CONFORMANCE_TAG = latest## Tag for the conformance test runner image
44
GATEWAY_CLASS = nginx## Gateway class to use
55
GINKGO_FLAGS =
66
GINKGO_LABEL =
7-
GW_API_VERSION ?= $(shell yq eval '.resources[0] | split("ref=v") | .[1]' ../config/crd/gateway-api/standard/kustomization.yaml)## Supported Gateway API version from current NGF
7+
GW_API_VERSION ?= $(shell sed -n 's/.*ref=v\(.*\)/\1/p' ../config/crd/gateway-api/standard/kustomization.yaml)## Supported Gateway API version from current NGF
88
GW_API_PREV_VERSION ?= 1.0.0## Supported Gateway API version from previous NGF release
9-
GW_SERVICE_TYPE=NodePort## Service type to use for the gateway
10-
GW_SVC_GKE_INTERNAL=false
9+
GW_SERVICE_TYPE = NodePort## Service type to use for the gateway
10+
GW_SVC_GKE_INTERNAL = false
1111
K8S_VERSION ?= latest## Kubernetes version to use. Expected format: 1.24 (major.minor) or latest
1212
NGF_VERSION ?= $(shell git describe --tags $(shell git rev-list --tags --max-count=1))## NGF version to be tested (defaults to latest tag)
13-
PULL_POLICY=Never## Pull policy for the images
13+
PULL_POLICY = Never## Pull policy for the images
1414
PROVISIONER_MANIFEST = conformance/provisioner/provisioner.yaml
1515
SUPPORTED_FEATURES = HTTPRouteQueryParamMatching,HTTPRouteMethodMatching,HTTPRoutePortRedirect,HTTPRouteSchemeRedirect,HTTPRouteHostRewrite,HTTPRoutePathRewrite,GatewayPort8080,HTTPRouteResponseHeaderModification,GRPCExactMethodMatching,GRPCRouteListenerHostnameMatching,GRPCRouteHeaderMatching
1616

0 commit comments

Comments
 (0)