Schema Validation Tests
The tests here are integration tests testing the schema validation of (the installed) Steward CRDs in an existing cluster.
Prerequisited
Update the PipelineRun and Tenant Custom Resource Definitions in the test cluster. The tests will use the schema validation of the installed CRDs, not the ones in the sources here.
kubectl apply -f ../../backend-k8s/steward-system
Test
See README.md in parent folder.
go test -count=1 -tags=e2e -v --kubeconfig $KUBECONFIG .