Skip to content

Commit f5b8619

Browse files
committed
gatewayapi-conformance.sh: Echo clone dir
* hack/gatewayapi-conformance.sh: Echo the path of the temporary directory for the gateway-api repository clone. Quote $SUPPORTED_FEATURES when passing it as an argument to go test.
1 parent f97efaf commit f5b8619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/gatewayapi-conformance.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ cd "${CLONE_DIR}"
3232
# find the branch of gateway-api repo
3333
RELEASE_VERSION=$(\grep -oP "^\d+\.\d+" <<<"${BUNDLE_VERSION#v}")
3434
BRANCH="release-${RELEASE_VERSION}"
35-
echo "gateway-api repo branch: ${BRANCH}"
35+
echo "gateway-api repo branch \"${BRANCH}\" into ${CLONE_DIR}..."
3636

3737
# clone the branch that matched the installed CRDs version
3838
# branch release-1.0 -> bundle-version v1.0.0
@@ -50,4 +50,4 @@ sed -i "s/MaxTimeToConsistency: 30/MaxTimeToConsistency:
5050
SUPPORTED_FEATURES='Gateway,HTTPRoute,ReferenceGrant,GatewayHTTPListenerIsolation,GatewayInfrastructurePropagation,GatewayPort8080,GatewayStaticAddresses,HTTPRouteBackendProtocolH2C,HTTPRouteBackendProtocolWebSocket,HTTPRouteBackendRequestHeaderModification,HTTPRouteBackendTimeout,HTTPRouteDestinationPortMatching,HTTPRouteHostRewrite,HTTPRouteMethodMatching,HTTPRouteParentRefPort,HTTPRoutePathRedirect,HTTPRoutePathRewrite,HTTPRoutePortRedirect,HTTPRouteQueryParamMatching,HTTPRouteRequestMirror,HTTPRouteRequestMultipleMirrors,HTTPRouteRequestTimeout,HTTPRouteResponseHeaderModification,HTTPRouteSchemeRedirect,MeshConsumerRoute'
5151

5252
echo "Start Gateway API Conformance Testing"
53-
go test ./conformance -v -timeout 20m -run TestConformance -args --supported-features=${SUPPORTED_FEATURES}
53+
go test ./conformance -v -timeout 20m -run TestConformance -args "--supported-features=${SUPPORTED_FEATURES}"

0 commit comments

Comments
 (0)