Skip to content
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 controlplane upgrade e2e test using capi framework #845

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

apedriza
Copy link
Contributor

@apedriza apedriza commented Dec 4, 2024

fix #775

This PR makes use of the e2e framework built by CAPI and used by several providers. This is intended to address current problems described in this issue such as code repetition or a proper collection of logs in case of failure. By adopting this framework, much of the code required for each test (such as test environment creation) is imported from the CAPI framework. On the other hand, a log dump of all relevant test components logs + configuration used is implemented if the test fails, improving the debugging capability of the test in case of failure. It also improves the ability to test against different infra providers, making use of an appropriate configuration file. In general, this approach makes e2e testing quite configurable.

The idea is as more e2e tests are added, to properly build CI using the parallelism feature (if needed in the test) and combine it with the test execution using Github Actions matrix feature. For now, a basic configuration is sufficient. The intention is to migrate the current tests little by little from the current approach to the proposed one.

@apedriza apedriza requested a review from a team as a code owner December 4, 2024 17:59
@apedriza apedriza marked this pull request as draft December 4, 2024 17:59
@apedriza apedriza force-pushed the add-capi-e2e-framework branch 16 times, most recently from c68dc94 to c81ecf9 Compare December 13, 2024 17:32
Signed-off-by: Adrian Pedriza <[email protected]>
@apedriza apedriza force-pushed the add-capi-e2e-framework branch from c81ecf9 to 39692b5 Compare December 13, 2024 17:47
@apedriza apedriza changed the title WIP: Add controlplane e2e test using capi framework Add controlplane upgrade e2e test using capi framework Dec 16, 2024
@apedriza apedriza marked this pull request as ready for review December 16, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor smoke tests
2 participants