Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable running the test-operator role multiple times #2412

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 2, 2024

  1. Enable running the test-operator role multiple times

    It was not possible to run the test-operator role multiple times
    without cleaning up all resources created by the first run, such
    as the logs pod created for the logs collection.
    
    This patch makes it possible to run the test operator role
    multiple times without cleaning up the resources (e.g., after the
    update in an update job). It is possible because:
    
    - test-operator-logs pod now has unique name for each job run
    - The variable cifmw_test_operator_*_name is now exposed. By
      specifying a unique name, we can guarantee no name collisions
      between the test-operator related resources (logs pods, instances
      of CRs)
    
    If you want to run test-operator role twice within a single job
    then make sure that for the second run you specify a value for the
    cifmw_test_operator_*_name. For example:
    
      cifmw_test_operator_tempest_name: "post-update-tempest-tests"
    lpiwowar committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    962fb5a View commit details
    Browse the repository at this point in the history