Skip to content

Submitting your Operator via Pull Requests (PR)

Overview

To submit an operator one has to do these steps

  1. Fork project based on desired Operator Repository
  2. Place the operator in the target directory. More info
    • operators
  3. Configure ci.yaml file. More info
    • Setup reviewers
    • Enable FBC mode
  4. Make a pull request with a new operator bundle or catalog changes
  5. Verify tests and fix problems, if possible
  6. Ask for help in the PR in case of problems

Pull request

When a pull request is created, a number of tests are executed via community hosted pipeline. One can see the results in the comment section of conversation tab.

PR

You are done

User is done when all tests are green. When the PR is merged, the community release pipeline will be triggered.

Test results failed?

When operator tests are failing, one can see a following picture

Summary of test results when failing

In case of failures, please have a look at the logs of specific tests. If an error is not clear to you, please ask in the PR. Maintainers will be happy to help you with it.

Useful commands interacting with the pipeline

You can post the following comment/command:

Command Functionality
/pipeline restart operator-hosted-pipeline The hosted pipeline will be re-triggered and PR will be merged if possible. The command only works if a previous pipeline failed.
/pipeline restart operator-release-pipeline The release pipeline will be re-triggered. The command only works if a previous pipeline failed.
/test skip {test_case_name} test_case_name test will be skipped. Please consider that only a subset of tests (currently only pruned graph test) can be skipped.