Skip to content

Commit

Permalink
Add conformance report for Contour v1.28.2 (#2884)
Browse files Browse the repository at this point in the history
* Add conformance report for Contour v1.28.2

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>

* add reproduction steps

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>

---------

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
  • Loading branch information
sunjayBhatia authored Apr 2, 2024
1 parent f7fa7d4 commit e1c2bf1
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 3 deletions.
40 changes: 40 additions & 0 deletions conformance/reports/v1.0.0/projectcontour-contour/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<x.y.z>
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
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions site-src/implementations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down

0 comments on commit e1c2bf1

Please sign in to comment.