Commit graph

471 commits

Author SHA1 Message Date
Brendan Reilly
0de93237f1 Added list builds command to koji CLI 2017-09-08 16:20:17 -04:00
Lubomír Sedlář
4060e1c026 cli: Fix exit code for building images
When spin-livemedia, image-build etc. start a task and watch it, they
never return a correct exit value. Pungi relies on the exit code to
determine if the task failed or not.

Fixes: https://pagure.io/koji/issue/555
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-08-23 15:40:24 -04:00
Tomas Kopecek
bdd4d41285 incorrect parameter for error message
Related: https://pagure.io/koji/issue/543
2017-08-08 12:30:55 -04:00
Yuming Zhu
26bd419054 cli: add noprogress argument for download_file in download_build 2017-08-08 12:26:22 -04:00
Yuming Zhu
1958a2a314 cli: remove unnecessary continue in download_task 2017-08-08 12:26:22 -04:00
Yuming Zhu
1e77866b35 cli: change download-task to regular curl download
also make 301/302 redirect acceptable by download-build & download-task
2017-08-08 12:26:22 -04:00
John Florian
3e2a737e32 New - custom lorax templates for livemedia tasks
This adds two new options (--lorax_url and --lorax_dir) to the Koji CLI
so that it's now possible to use custom lorax templates for livemedia
tasks.  The custom templates must come from a supported, allowed SCM,
which makes it trivial to inject the whole directory structure of
template files that lorax expects.

In addition to the CLI changes, kojid's LiveMediaTask handler recognizes
these new options and acts accordingly by extending the
livemedia-creator call via its --lorax-templates option.
2017-08-08 11:44:18 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Tomas Kopecek
6c68b6ab34 CLI block-group command
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Patrick Uiterwijk
21523a57fd Fix the poll_interval access in handle_resubmit
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Patrick Uiterwijk
b511c6599f Fix the call to _printTaskInfo in handle_resubmit
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Yanko Kaneti
addf7cdd01 download-build: suppress output on quiet and add --noprogress 2017-07-11 10:29:26 -04:00
Mike McLean
33566487d1 fix timeout logic in wait() 2017-06-21 08:39:08 -04:00
Mike McLean
81eb30d5ce restart-hosts: new options and a timeout 2017-06-21 08:39:08 -04:00
Mike McLean
a5bd3b4495 restart-hosts: check for existing tasks first 2017-06-21 08:39:08 -04:00
Mike McLean
3c548a9923 fix command options that default to global option value 2017-06-16 10:16:07 +02:00
Mike McLean
bd7c52afbf avoid sorting dictionary fields
python3 is pickier about this than python2
2017-06-16 10:16:07 +02:00
Tomas Kopecek
03ec96803a Fix blank lines (pep8)
split_cli.py caused some missing or additional empty lines. Fixed
according to pep8.
2017-06-13 15:44:38 +02:00
Tomas Kopecek
ac3f76a4de refactor activate_session 2017-06-13 11:42:04 +02:00
Tomas Kopecek
37bcef025c cleanup after automatic split 2017-06-13 11:42:04 +02:00
Tomas Kopecek
81b2b36d07 apply split 2017-06-13 11:20:38 +02:00