Skip to content

Commit 7ebad7c

Browse files
authored
Merge pull request #102 from padovan/results-update
make 'results' subcommand more useful
2 parents 308f117 + ff21ab0 commit 7ebad7c

File tree

3 files changed

+248
-75
lines changed

3 files changed

+248
-75
lines changed

docs/results.md

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,34 @@ kci-dev results summary --giturl 'https://git.kernel.org/pub/scm/linux/kernel/gi
3030

3131
### builds
3232

33-
List builds.
33+
List builds results.
3434

3535
Example:
3636

3737
```sh
3838
kci-dev results builds --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit d1486dca38afd08ca279ae94eb3a397f10737824
3939
```
4040

41+
### boots
42+
43+
List boot results.
44+
45+
Example:
46+
47+
```sh
48+
kci-dev results boots --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --latest
49+
```
50+
51+
### tests
52+
53+
List test results.
54+
55+
Example:
56+
57+
```sh
58+
kci-dev results tests --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit d1486dca38afd08ca279ae94eb3a397f10737824
59+
```
60+
4161
## Common parameters
4262

4363
### --origin
@@ -74,7 +94,7 @@ kci-dev results builds --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git
7494
### --status
7595

7696
Filter results by the status: "all", "pass", "fail" or "inconclusive".
77-
(available for subcommand `build`)
97+
(available for subcommands `build`, `boots` and `tests`)
7898

7999
Example:
80100
```sh
@@ -84,13 +104,30 @@ kci-dev results builds --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git
84104
## --download-logs
85105

86106
Automatically download logs for results listed.
87-
(available for subcommand `build`)
107+
(available for subcommands `build`, `boots` and `tests`)
88108

89109
Example:
90110
```sh
91-
kci-dev results build --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit d1486dca38afd08ca279ae94eb3a397f10737824 --download-logs
111+
kci-dev results builds --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit d1486dca38afd08ca279ae94eb3a397f10737824 --download-logs
112+
```
113+
114+
## --filter
115+
116+
Pass a YAML filter file to customize results. Only supports hardware filtering at the moment.
117+
See filter yaml example below:
118+
(available for subcommands `boots` and `tests`)
119+
120+
```yaml
121+
hardware:
122+
- radxa,rock2-square
123+
- fsl,imx6q
124+
- dell-latitude-3445-7520c-skyrim
92125
```
93126
127+
Example:
128+
```sh
129+
kci-dev results boots --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --latest --filter=filter.yaml
130+
```
94131

95132
### without arguments
96133

0 commit comments

Comments
 (0)