generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
related issue: kyma-project/lifecycle-manager#304 --------- Co-authored-by: Małgorzata Świeca <malgorzata.swieca@sap.com>
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Enhanced Deployment Configuration Template for End-to-End Testing | ||
|
||
This document outlines how to use arguments to imitate specific module behavior to support certain end-to-end (e2e) test scenarios. | ||
|
||
- `final-state` | ||
|
||
This argument allows customization of the final state of a Module CR (`sample-yaml`). By default, a Module CR transitions to the `Ready` state. However, the final state can be configured to differ from this default. | ||
|
||
For instance, to override the final state to `Warning`, add `--final-state=Warning` as a deployment argument. In this case, once the Module CR is deployed, it remains in the `Warning` state. | ||
|
||
- `final-deletion-state` | ||
|
||
This argument is used to customize the final state of a Module CR (`sample-yaml`) when the CR is flagged for deletion. The default state in this case is `Deleting`. | ||
|
||
## Related End-to-End Tests: | ||
|
||
- [Warning Status Propagation](https://github.com/kyma-project/lifecycle-manager/blob/a0c49436f3d11d03c9a7556ec11c7c9f69d621d9/tests/e2e/warning_status_propagation_test.go#L17) - in this test scenario the `final-state` and `final-deletion-state` arguments are used to set the Module CR's final state to `Warning`. |