Skip to content

Commit

Permalink
fix: yaml snippet for test_command (#859)
Browse files Browse the repository at this point in the history
fix: yaml snippet for `test_command`

Quick documentation fix since the header only is not clear that default_identifier have to be under a test_command object

Reviewed-by: Laura Barcziová
  • Loading branch information
softwarefactory-project-zuul[bot] authored Mar 28, 2024
2 parents 8204a43 + 7f7a590 commit 23596af
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@ For instance, rather than specifying frequently used job via `--identifier` each
you can configure the following:

```yaml
default_identifier: my-id
test_command:
default_identifier: my-id
```
As a result, invoking `/packit test` will be automatically interpreted as `/packit test --identfier my-id`.

Expand All @@ -618,9 +619,10 @@ This allows commonly used job combinations to be triggered without the need for
For instance, rather than specifying frequently used jobs via `--labels` each time, such as `/packit test --labels regression,upgrade`,
you can configure the following:
```yaml
default_labels:
- regression
- upgrade
test_command:
default_labels:
- regression
- upgrade
```
As a result, invoking `/packit test` will be automatically interpreted as `/packit test --labels regression,upgrade`.

Expand Down

0 comments on commit 23596af

Please sign in to comment.