-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GHA to run MCS conformance tests #1642
base: devel
Are you sure you want to change the base?
Conversation
🤖 Created branch: z_pr1642/tpantelis/conformance_gha |
The |
e809a51
to
c45b7c3
Compare
af53279
to
3e20d12
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further |
3e20d12
to
78d941e
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further |
78d941e
to
eb6abef
Compare
bc9d4a6
to
7efd9bf
Compare
7be0cc9
to
6973d13
Compare
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 <tompantelis@gmail.com>
6973d13
to
908786b
Compare
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.Fixes #1630