Skip to content

Commit

Permalink
airbyte-ci: document extra parameters options (#34109)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Jan 15, 2024
1 parent cc85d4c commit 0fb1e74
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions airbyte-ci/connectors/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,24 @@ flowchart TD
| `--fail-fast` | False | False | Abort after any tests fail, rather than continuing to run additional tests. Use this setting to confirm a known bug is fixed (or not), or when you only require a pass/fail result. |
| `--code-tests-only` | True | False | Skip any tests not directly related to code updates. For instance, metadata checks, version bump checks, changelog verification, etc. Use this setting to help focus on code quality during development. |
| `--concurrent-cat` | False | False | Make CAT tests run concurrently using pytest-xdist. Be careful about source or destination API rate limits. |
| `--<step-id>.<extra-parameter>=<extra-parameter-value>` | True | | You can pass extra parameters for specific test steps. More details in the extra parameters section below |

Note:

- The above options are implemented for Java connectors but may not be available for Python connectors. If an option is not supported, the pipeline will not fail but instead the 'default' behavior will be executed.

#### Extra parameters
You can pass extra parameters to the following steps:
* `unit`
* `integration`
* `acceptance`

This allows you to override the default parameters of these steps.
For example, you can only run the `test_read` test of the acceptance test suite with:
`airbyte-ci connectors --name=source-pokeapi test --acceptance.-k=test_read`
Here the `-k` parameter is passed to the pytest command running acceptance tests.
Please keep in mind that the extra parameters are not validated by the CLI: if you pass an invalid parameter, you'll face a late failure during the pipeline execution.

### <a id="connectors-build-command"></a>`connectors build` command

Run a build pipeline for one or multiple connectors and export the built docker image to the local docker host.
Expand Down

0 comments on commit 0fb1e74

Please sign in to comment.