Skip to content

Skip operator installation when running tests #108

@razvan

Description

@razvan

Description

The scripts/run_tests.sh has gained the ability to install operators needed for the integration tests it's self. This allows us to install different operator versions in PRs that address cross-cutting concerns:

▶ ./scripts/run_tests.sh --help
Unknown parameter : --help
  Usage:
     run_tests.sh [options]
  Options:
    --test-suite <test-suite>  Run a test suite from the test_definition.yaml file. Default is all tests.
    --test <test-name>         Run a specific test or a set of tests.
    --skip-delete              Skip resource deletion after the test run.
    --parallel <number>        Run tests in parallel. Default is to run all tests in parallel.
    --skip-release             Skip the operator installation.

To run the nightly tests from Jenkins use:

./scripts/run_tests.sh --test-suite nightly

Acceptance criteria

  • Jenkins doesn't install the operators anymore
  • Jenkins uses the run_tests.sh script to install the operators and run tests.
  • The Jenkins test suite UI field is passed as argument to the script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions