Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GHA to run MCS conformance tests
The GHA clones the "sigs.k8s.io/mcs-api" repo with the desired commit and runs `go test` directly in the directory. "v0.1.0" doesn't have the conformance tests so we can't run them via Go import and trying to import a later commit is problematic due incompatible changes to the MCS APIs. Also the conformance tests are really tied to the MCS spec and not specifically to the API version so they'll likely evolve separately anyway. The clusterset IP field in the ServiceImport is required by the spec for ClusterIP services so that conformance test will fail unless the clusterset IP feature is enabled in Lighthouse. However, with that enabled, the connectivity conformance tests will fail b/c Submariner doesn't perform routing in that case. Thus, two separate GHA jobs are configured, one with clusterset IP enabled and one without, and the appropriate conformance tests are run/skipped by specifying the appropriate Ginkgo label filter. Signed-off-by: Tom Pantelis <[email protected]>
- Loading branch information