Details
-
Task
-
Resolution: Done
-
Normal
-
None
-
5
-
False
-
None
-
False
-
GITOPS Sprint 219, GITOPS Sprint 220, GITOPS Sprint 221
Description
Description:
Kuttl is a tool designed to be run in a development environment, not in a cloud-native production system. Therefore, we have identified the problems below:
- Kuttl is not running in an isolated environment. That means, if the bash script inside a TestStep object performs some modifications in the local machine, all colleagues that run the test would be affected
- Is difficult to parallelize E2E tests. Since Kuttl is intended to run in the current console and print to stdout,
Due to that limitations, we've discussed that the best option to optimize E2E tests is to containerize the Kuttl binary among all its dependencies and bash tools required for its proper functionality.
A big advantage of this solution, apart from the clean run of the tests, is the possibility of integration with Tekton (Openshift Pipelines) to fully automate QA.
Acceptance Criteria:
1. A Linux container image with all the necessary tools to run kuttl suite.
2. A tekton Pipeline to run the image and test E2E GitOps operator against a real remote cluster.