Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-4831

[test-operator] support running Tobiko workflows with test-operator

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • test-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • 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:

              lpiwowar Lukáš Piwowarski
              eolivare Eduardo Olivares Toledo
              rhos-tempest
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: