You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/test_operator/README.md
+24-7Lines changed: 24 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,15 +39,13 @@ Execute tests via the [test-operator](https://openstack-k8s-operators.github.io/
39
39
*`test_vars`: (String) Testing parameters for this specific stage if a `test_vars` is used the specified parameters would override the ones in the `test_vars_file`. Only parameters specific for the controller can be used (Tempest, Ansibletest, Horizontest and Tobiko).
40
40
> Important note! Generally only the variables with the following structure can be used to override inside a stage: `cifmw_test_operator_[test-operator CR name]_[parameter name]`. For example, these variables cannot be overridden per stage: `cifmw_test_operator_default_registry`, `cifmw_test_operator_default_namespace`, `cifmw_test_operator_default_image_tag`. One exception is `cifmw_test_operator_namespace`, which allows running the testing frameworks in multiple namespaces.
41
41
*`pre_test_stage_hooks`: (List) List of pre hooks to run as described [hooks README](https://github.com/openstack-k8s-operators/ci-framework/tree/main/roles/run_hook#hooks-expected-format).
42
-
*`post_test_stage_hooks`: (List) List of post hooks to run as described [hooks README](https://github.com/openstack-k8s-operators/ci-framework/tree/main/roles/run_hook#hooks-expected-format).
43
-
Default value:
44
-
```
45
-
cifmw_test_operator_stages:
46
-
- name: tempest
47
-
type: tempest
48
-
```
42
+
*`post_test_stage_hooks`: (List) List of post hooks to run as described [hooks README](https://github.com/openstack-k8s-operators/ci-framework/tree/main/roles/run_hook#hooks-expected-format)
*`cifmw_test_operator_tempest_name`: (String) Value used in the `Tempest.Metadata.Name` field. The value specifies the name of some resources spawned by the test-operator role. Default value: `tempest-tests`
53
51
*`cifmw_test_operator_tempest_registry`: (String) The registry where to pull tempest container. Default value: `{{ cifmw_test_operator_default_registry }}`
@@ -78,6 +76,25 @@ cifmw_test_operator_stages:
78
76
*`cifmw_test_operator_tempest_resources`: (Dict) A dictionary that specifies resources (cpu, memory) for the test pods. When untouched it clears the default values set on the test-operator side. This means that the tempest test pods run with unspecified resource limits. Default value: `{requests: {}, limits: {}}`
79
77
*`cifmw_tempest_tempestconf_config`: Deprecated, please use `cifmw_test_operator_tempest_tempestconf_config` instead
80
78
*`cifmw_test_operator_tempest_tempestconf_config`: (Dict) This parameter can be used to customize the execution of the `discover-tempest-config` run. Please consult the test-operator documentation. For example, to pass a custom configuration for `tempest.conf`, use the `overrides` section:
79
+
=======
80
+
*`cifmw_test_operator_tempest_name`: (Default: `tempest-tests`) — Value used in the `Tempest.Metadata.Name` field. The value specifies the name of some resources spawned by the test-operator role
*`cifmw_test_operator_tempest_concurrency`: (Default: `8`) — The number of worker processes running tests concurrently
83
+
*`cifmw_test_operator_tempest_registry`: (Default: `{{ cifmw_test_operator_default_registry }}`) — The registry where to pull tempest container
84
+
*`cifmw_test_operator_tempest_namespace`: (Default: `{{ cifmw_test_operator_default_namespace }}`) — Registry's namespace where to pull tempest container
85
+
*`cifmw_test_operator_tempest_container`: (Default: `openstack-tempest-all`) — Name of the tempest container
86
+
*`cifmw_test_operator_tempest_image`: (Default: [Refer to `roles/test_operator/defaults/main.yml`]) — Tempest image to be used
87
+
*`cifmw_test_operator_tempest_image_tag`: (Default: `{{ cifmw_test_operator_default_image_tag }}`) — Tag for the `cifmw_test_operator_tempest_image`
88
+
*`cifmw_test_operator_tempest_network_attachments`: (Default: [Refer to `roles/test_operator/defaults/main.yml`]) — List of network attachment definitions to attach to the tempest pods spawned by test-operator
89
+
*`cifmw_test_operator_tempest_tests_include_override_scenario`: (Default: `False`) — Whether to override the scenario `cifmw_test_operator_tempest_include_list` definition
90
+
*`cifmw_test_operator_tempest_tests_exclude_override_scenario`: (Default: `False`) — Whether to override the scenario `cifmw_test_operator_tempest_exclude_list` definition
91
+
*`cifmw_test_operator_tempest_workflow`: (Default: [Refer to `roles/test_operator/defaults/main.yml`])
92
+
*`cifmw_test_operator_tempest_cleanup`: (Default: `False`) — Run tempest cleanup after test execution (tempest run) to delete any resources created by tempest that may have been left out.
93
+
*`cifmw_test_operator_crs_path`: (String) The path into which the tests CRs file will be created in
94
+
*`cifmw_test_operator_tempest_rerun_failed_tests`: (Default: `False`) — Activate tempest re-run feature. When activated, tempest will perform another run of the tests that failed during the first execution
95
+
*`cifmw_test_operator_tempest_rerun_override_status`: (Default: `False`) — Allow override of exit status with the tempest re-run feature. When activated, the original return value of the tempest run will be overridden with a result of the tempest run on the set of failed tests
96
+
*`cifmw_test_operator_tempest_tempestconf_config`: (Default: `{{ cifmw_tempest_tempestconf_config }}`) — This parameter can be used to customize the execution of the `discover-tempest-config` run. Please consult the test-operator documentation. For example, to pass a custom configuration for `tempest.conf`, use the `overrides` section:
97
+
>>>>>>> 0daf6d11 (Testing my script to update the README.md file to sync variables of tesat-operator role from defaults/main.yml)
0 commit comments