https://github.com/aledbf/ingress-conformance-sample-gce
https://github.com/aledbf/ingress-conformance-sample-gce
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aledbf/ingress-conformance-sample-gce
- Owner: aledbf
- License: apache-2.0
- Created: 2020-08-24T22:26:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T00:13:21.000Z (almost 6 years ago)
- Last Synced: 2025-03-20T02:39:40.547Z (about 1 year ago)
- Language: Shell
- Size: 266 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ingress-conformance-sample-gce
Sample repository to show how to run the conformance suite and generate reports using github pages.
### Website - https://aledbf.github.io/ingress-conformance-sample-gce/
### Github action jobs:
- *Setup gcloud* access
- *Create a Kubernetes cluster* using `https://get.k8s.io` and kube-up.sh
- *Prepare environment* downloads [sonobuoy](https://github.com/vmware-tanzu/sonobuoy) binary
- *Run conformance tests* using `sonobuoy run` and waits until finishes
- *Generate reports* extracts cucumber json files from `sonobuoy retrieve` output and generates static html files
### How I run the conformance test using a particular ingress controller?
- Fork the repository -> **Click Settings** -> **Click Secrets**
- Change secret `KUBE_CONFIG` value

where:
- **INGRESS_CLASS:** name of the class that are valid for the ingress controller
- **KUBE_CONFIG:** holds a kubeconfig file content
- **INGRESS_CONTROLLER:** name of the ingress controller (default `N/A`)
- **CONTROLLER_VERSION:** version of the ingress controller (default `N/A`)
- **GCP_PROJECT_ID:** ID of the [GCP Project](https://cloud.google.com/resource-manager/docs/creating-managing-projects) where the Kubernetes cluster will be created
- **GCP_SA_KEY:** [GCP Service account](https://cloud.google.com/iam/docs/service-accounts) with permissions to bootstrap a Kubernetes cluster
- **TEST_TIMEOUT:** adjust timeout to 2h (default is 20m)
- **WAIT_FOR_STATUS_TIMEOUT:** adjust timeout to wait for Ingress status value to 10m (default is 5m)