-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
False
-
-
False
-
-
We need to support running tobiko workflows from the test-operator. Changes in tcib may be needed as well.
A workflow is a loop of tobiko runs. This is how tobiko is executed on d/s Jenkins+tripleo jobs and on u/s opendev jobs.
Right now, cifmw_tobiko_testenv is a string. It should be a list instead.
https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/tobiko/defaults/main.yml#L30
Maybe the solution should be something like:
cifmw_tobiko_workflow:
- # step 0
cifmw_tobiko_testenv: sanity
cifmw_tobiko_pytest_addopts: ...
cifmw_tobiko_prevent_create: ...
cifmw_tobiko_num_processes: ...
cifmw_tobiko_tobikoconf: {...}
- # step 1
cifmw_tobiko_testenv: scenario
cifmw_tobiko_pytest_addopts: ...
cifmw_tobiko_prevent_create: ...
cifmw_tobiko_num_processes: ...
cifmw_tobiko_tobikoconf: {...}
- # step 2
cifmw_tobiko_testenv: faults
cifmw_tobiko_pytest_addopts: ...
cifmw_tobiko_prevent_create: ...
cifmw_tobiko_num_processes: ...
cifmw_tobiko_tobikoconf: {...}
....
PRs:
https://github.com/openstack-k8s-operators/ci-framework/pull/1235https://github.com/openstack-k8s-operators/test-operator/pull/54https://github.com/openstack-k8s-operators/tcib/pull/146- https://github.com/openstack-k8s-operators/test-operator/pull/58 (DNM PR for testing)
[https://github.com/openstack-k8s-operators/tcib/pull/153- https://github.com/openstack-k8s-operators/ci-framework/pull/1267
- is related to
-
OSPRH-4360 Add tobiko to the ci-framework test-operator role
-
- Closed
-
- relates to
-
OSPRH-4361 Support parallel execution in the test-operator role
-
- Closed
-
- links to