CNV-87992: Add hot-cluster CI infrastructure and Cypress E2E tests#443
CNV-87992: Add hot-cluster CI infrastructure and Cypress E2E tests#443lkladnit wants to merge 1 commit into
Conversation
Port hot-cluster CI approach from kubevirt-plugin (CNV-74265) for running E2E Cypress tests on a persistent OpenShift cluster via GitHub Actions + ARC self-hosted runners. Includes composite actions for test environment lifecycle, ci-scripts for cluster health checks and test cleanup, and Helm charts for in-cluster console + plugin deployment. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@lkladnit: This pull request references CNV-87992 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lkladnit The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Caution Review failedAn error occurred during the review process. Please try again later. WalkthroughAdds a Kubernetes-based CI environment controller and Helm test stack, GitHub Actions provisioning and cleanup, local cluster scripts, and a Cypress UI test project covering networking workflows. ChangesCI environment lifecycle
Estimated code review effort: 5 (Critical) | ~120 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
|
|
@lkladnit: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
Adapts the hot-cluster CI approach from kubevirt-plugin (CNV-74265, PRs #4099 / #4100) for networking-console-plugin.
ci-env-request,ci-env-release) for test environment lifecycleci-test-stack,ci-env-controller) for in-cluster console + plugin deployment.dockerignorefor faster image buildsui-tests-cy/with networking-specific tests (NADs, network policies, routes, services, ingresses, UDNs)setup.sh,cleanup.sh,test-cypress.sh)Jira ticket: CNV-87992
Architecture
Uses a persistent ("hot") OpenShift cluster with GitHub Actions Runner Controller (ARC) for self-hosted ephemeral runners. A ci-env-controller watches trigger ConfigMaps and provisions per-run test stacks via Helm. See
ci-scripts/README.mdfor full setup documentation.Test plan
ci-scripts/README.md)Made with Cursor
Summary by CodeRabbit