Skip to content

Commit 23c4918

Browse files
authored
Merge pull request #165 from CamilaAlvarez/feat/boot-subcommand
feat(results): Add boot subcommand
2 parents 59da1a2 + 4f09f7a commit 23c4918

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

docs/results.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ Example:
6868
kci-dev results test --id 'maestro:67d3e293f378f0c5986d3309' --download-logs --json
6969
```
7070

71+
### boot
72+
73+
Obtains a single boot result.
74+
75+
Example:
76+
77+
```sh
78+
kci-dev results boot --id 'maestro:67ffde3a69241b2ece0ccaa6' --download-logs --json
79+
```
80+
7181
### build
7282

7383
Displays all the information from a single build.

kcidev/subcommands/results/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,5 +153,13 @@ def build(op_id, download_logs, use_json):
153153
cmd_single_build(data, download_logs, use_json)
154154

155155

156+
@results.command()
157+
@single_build_and_test_options
158+
@results_display_options
159+
def boot(op_id, download_logs, use_json):
160+
data = dashboard_fetch_test(op_id, use_json)
161+
cmd_single_test(data, download_logs, use_json)
162+
163+
156164
if __name__ == "__main__":
157165
main_kcidev()

0 commit comments

Comments
 (0)