From e1c2bf13592d6b933ee136b212a1fc63513c72c4 Mon Sep 17 00:00:00 2001 From: Sunjay Bhatia <5337253+sunjayBhatia@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:28:11 -0400 Subject: [PATCH] Add conformance report for Contour v1.28.2 (#2884) * Add conformance report for Contour v1.28.2 Signed-off-by: Sunjay Bhatia * add reproduction steps Signed-off-by: Sunjay Bhatia --------- Signed-off-by: Sunjay Bhatia --- .../v1.0.0/projectcontour-contour/README.md | 40 +++++++++++++++ .../v1.28.2-report.yaml | 50 +++++++++++++++++++ site-src/implementations.md | 6 +-- 3 files changed, 93 insertions(+), 3 deletions(-) create mode 100644 conformance/reports/v1.0.0/projectcontour-contour/v1.28.2-report.yaml diff --git a/conformance/reports/v1.0.0/projectcontour-contour/README.md b/conformance/reports/v1.0.0/projectcontour-contour/README.md index c83d9a7775..58c4cb33b7 100644 --- a/conformance/reports/v1.0.0/projectcontour-contour/README.md +++ b/conformance/reports/v1.0.0/projectcontour-contour/README.md @@ -5,5 +5,45 @@ |API channel|Implementation version|Mode|Report| |-----------|----------------------|----|------| |x|[v1.28.1](https://github.com/projectcontour/contour/releases/tag/v1.28.1)|x|[link](./v1.28.1-report.yaml)| +|x|[v1.28.2](https://github.com/projectcontour/contour/releases/tag/v1.28.2)|x|[link](./v1.28.2-report.yaml)| ## Reproduce + +### Prerequisites + +Follow the Contour [contribution guide][0] documentation for setting up your local development environment, which includes ensuring `kubectl`, `docker`, `kinD`, and other tools are installed. + +### Steps + +1. Clone the Contour GitHub repository + + ```bash + git clone https://github.com/projectcontour/contour && cd contour + ``` + +2. Check out the desired version + + ```bash + export VERSION=v + git checkout $VERSION + ``` + +3. Run the conformance tests + + ```bash + export CONTOUR_E2E_IMAGE="ghcr.io/projectcontour/contour:$VERSION" + export GENERATE_GATEWAY_CONFORMANCE_REPORT="true" + make setup-kind-cluster run-gateway-conformance cleanup-kind + ``` + + Note: you can omit the `cleanup-kind` target if you would prefer to keep the `kinD` cluster. + +4. Check the produced report + + ```bash + cat gateway-conformance-report/projectcontour-contour-*.yaml + ``` + + Note: you can set `GATEWAY_CONFORMANCE_REPORT_OUTDIR` before running the tests to customize the output location. + +[0]: https://github.com/projectcontour/contour/blob/main/CONTRIBUTING.md#building-from-source diff --git a/conformance/reports/v1.0.0/projectcontour-contour/v1.28.2-report.yaml b/conformance/reports/v1.0.0/projectcontour-contour/v1.28.2-report.yaml new file mode 100644 index 0000000000..1403ec9da1 --- /dev/null +++ b/conformance/reports/v1.0.0/projectcontour-contour/v1.28.2-report.yaml @@ -0,0 +1,50 @@ +apiVersion: gateway.networking.k8s.io/v1alpha1 +date: "2024-03-19T15:28:46Z" +gatewayAPIVersion: v1.0.0 +implementation: + contact: + - '@projectcontour/maintainers' + organization: projectcontour + project: contour + url: https://projectcontour.io/ + version: v1.28.2 +kind: ConformanceReport +profiles: +- core: + result: success + statistics: + Failed: 0 + Passed: 29 + Skipped: 0 + summary: "" + extended: + result: partial + skippedTests: + - HTTPRouteTimeoutBackendRequest + statistics: + Failed: 0 + Passed: 11 + Skipped: 1 + summary: "" + supportedFeatures: + - HTTPRoutePathRedirect + - HTTPRouteHostRewrite + - HTTPRoutePathRewrite + - HTTPRouteBackendTimeout + - HTTPRouteMethodMatching + - HTTPRouteRequestTimeout + - HTTPRouteResponseHeaderModification + - HTTPRouteSchemeRedirect + - HTTPRouteRequestMirror + - HTTPRouteRequestMultipleMirrors + - HTTPRouteQueryParamMatching + - HTTPRoutePortRedirect + name: HTTP +- core: + result: success + statistics: + Failed: 0 + Passed: 10 + Skipped: 0 + summary: "" + name: TLS diff --git a/site-src/implementations.md b/site-src/implementations.md index 0aa7213fd6..88400b54d4 100644 --- a/site-src/implementations.md +++ b/site-src/implementations.md @@ -179,11 +179,11 @@ effort, check out the #development channel or join our [weekly developer meeting ### Contour -[![Conformance](https://img.shields.io/badge/Gateway%20API%20Conformance%20v1.0.0-Contour-green)](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/reports/v1.0.0/projectcontour-contour.yaml) +[![Conformance](https://img.shields.io/badge/Gateway%20API%20Conformance%20v1.0.0-Contour-green)](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/reports/v1.0.0/projectcontour-contour/v1.28.2-report.yaml) [Contour][contour] is a CNCF open source Envoy-based ingress controller for Kubernetes. -Contour [v1.28.1][contour-release] implements Gateway API v1.0.0. +Contour [v1.28.2][contour-release] implements Gateway API v1.0.0. All [Standard channel][contour-standard] v1 API group resources (GatewayClass, Gateway, HTTPRoute, ReferenceGrant), plus most v1alpha2 API group resources (TLSRoute, TCPRoute, GRPCRoute, ReferenceGrant, and BackendTLSPolicy) are supported. Contour's implementation passes all core and most extended Gateway API conformance tests included in the v1.0.0 release. @@ -194,7 +194,7 @@ For help and support with Contour's implementation, [create an issue][contour-is _Some "extended" functionality is not implemented yet, [contributions welcome!][contour-contrib]._ [contour]:https://projectcontour.io -[contour-release]:https://github.com/projectcontour/contour/releases/tag/v1.28.1 +[contour-release]:https://github.com/projectcontour/contour/releases/tag/v1.28.2 [contour-standard]:https://gateway-api.sigs.k8s.io/concepts/versioning/#release-channels-eg-experimental-standard [contour-guide]:https://projectcontour.io/docs/1.28/guides/gateway-api/ [contour-issue-new]:https://github.com/projectcontour/contour/issues/new/choose