Made grammatical change. Updated "runtask" command.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
| tflink |
Made grammatical change. Updated "runtask" command.
docsbuild
| Automatic diff as part of commit; lint not applicable. |
| Automatic diff as part of commit; unit tests not applicable. |
| Path | Packages | |||
|---|---|---|---|---|
| M | docs/source/devguide.rst (2 lines) | |||
| M | docs/source/writingtasks.rst (2 lines) |
| Commit | Tree | Parents | Author | Summary | Date |
|---|---|---|---|---|---|
| 26c1a030d51b | 4d181f6cce49 | c15763f82a43 | Geoffrey Marr | Made small docs fixes. (Show More…) | Jun 22 2016, 9:37 PM |
| 1 | =========================== | 1 | =========================== | ||
|---|---|---|---|---|---|
| 2 | Taskotron Development Guide | 2 | Taskotron Development Guide | ||
| 3 | =========================== | 3 | =========================== | ||
| 4 | 4 | | |||
| 5 | So, you're interested in getting helping out with libtaskotron? Great, this will | 5 | So, you're interested in helping out with libtaskotron? Great, this will | ||
| 6 | help get you started on that. | 6 | help get you started on that. | ||
| 7 | 7 | | |||
| 8 | 8 | | |||
| 9 | General Information | 9 | General Information | ||
| 10 | =================== | 10 | =================== | ||
| 11 | 11 | | |||
| 12 | Libtaskotron is written mostly in `Python <https://www.python.org/>`_. | 12 | Libtaskotron is written mostly in `Python <https://www.python.org/>`_. | ||
| 13 | 13 | | |||
| ▲ Show 20 Lines • Show All 399 Lines • Show Last 20 Lines | |||||
| Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 140 | - name: report mytask results to resultsdb | |||
|---|---|---|---|---|---|
| 141 | resultsdb: | 141 | resultsdb: | ||
| 142 | results: ${mytask_output} | 142 | results: ${mytask_output} | ||
| 143 | 143 | | |||
| 144 | .. this needs to be fixed, this output is doctored since it doesn't actually | 144 | .. this needs to be fixed, this output is doctored since it doesn't actually | ||
| 145 | work. | 145 | work. | ||
| 146 | 146 | | |||
| 147 | We can execute this new task using:: | 147 | We can execute this new task using:: | ||
| 148 | 148 | | |||
| 149 | $ python runtask.py -i FEDORA-2016-8760e32d9b -t bodhi_id -a x86_64 ../task-mytask/mytask.yml | 149 | $ runtask -i FEDORA-2016-8760e32d9b -t bodhi_id -a x86_64 ../task-mytask/mytask.yml | ||
| 150 | 150 | | |||
| 151 | 151 | | |||
| 152 | The output from this task should end with:: | 152 | The output from this task should end with:: | ||
| 153 | 153 | | |||
| 154 | Running mytask on FEDORA-2016-8760e32d9b | 154 | Running mytask on FEDORA-2016-8760e32d9b | ||
| 155 | [libtaskotron] 15:00:40 CRITICAL Traceback (most recent call last): | 155 | [libtaskotron] 15:00:40 CRITICAL Traceback (most recent call last): | ||
| 156 | File "runtask.py", line 10, in <module> | 156 | File "runtask.py", line 10, in <module> | ||
| 157 | main.main() | 157 | main.main() | ||
| ▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines | |||||