Repository navigation
✨ Adds a new decision record about the requirements when testing cluster-stacks - #321
Merged
Merged
Conversation
janiskemper
approved these changes
Jul 10, 2023
batistein
force-pushed
the
syself/adr-test-env
branch
4 times, most recently
from
July 26, 2023 10:01
16268f9 to
166b126
Compare
…tacks Signed-off-by: batistein <[email protected]>
batistein
force-pushed
the
syself/adr-test-env
branch
from
July 26, 2023 10:03
166b126 to
0cd3236
Compare
fdobrovolny
reviewed
Aug 24, 2023
fdobrovolny
left a comment
Contributor
There was a problem hiding this comment.
Thank you for the great work.
I mostly agree with everything written.
However, I do have a few questions:
- On what level and to what extent do you plan to test Cluster stacks? Will it be a kind of unit test where any external dependencies are mocked, or do you plan to have a full integration test to be able to spawn locally in a virtual machine, a working OpenStack, and be able to spawn whole clusters, including add-ons locally?
- How do you plan to achieve offline testing, and to what degree do you plan to implement it? e.g., Do I need internet access for first use or not? Do you plan to cache locally node and container images for add-ons?
- Do you plan, as it is written only at the docker approach, to have any E2E or pipeline testing?
- Do you plan to support the development of provider-specific operators or any testing suite leveraging the IaaS providers?
Thank you.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new decision record that presents an extensive discussion about the necessary requirements for testing cluster-stacks. The document lays out the motivations, design considerations, required features, and potential approaches for developing a robust and practical solution for testing cluster-stacks. It underscores the benefits and drawbacks of utilizing a local environment for testing and provides a thorough comparison between using Infrastructure as a Service (IaaS) providers and local environments.
The document proposes a shift from Docker-based testing to a virtual machine-based approach due to Docker's limitations in mimicking real-world production environments accurately. It also emphasizes the need for a detailed evaluation of these and possibly other tools to decide the best path forward.
By implementing this decision record, we aim to establish a foundation for evaluating a suitable solution for testing cluster-stacks. The end goal is to develop a testing environment that closely replicates real-world production scenarios, ensures tester accessibility, and provides reliable and robust test results.
Please review the document and provide your feedback, suggestions, or approval for this proposed change.