On 12/24/2016 06:03 PM, Kevin Fenzi wrote:
> Packager can override channel manually when needed. When
submitting
> build, you can choose which channel to use. For example, when you want
> the build to be ran on x86_64 you can select "livecd" channel [2],
> which contains only x86_64 hosts. In this case the build [3] will be
> ran on one of x86_64 builders.
I don't think there's any way to do this from the koji command line is
there?
It is possible from CLI for admin users (using "koji make-task").
For non-admin users it is still possible with XML-RPC API:
$ koji list-api | grep -A7 'build('
Or with Python API:
#!/usr/bin/python
import koji
s =
koji.ClientSession('http://koji.fedoraproject.org/kojihub')
s.gssapi_login()
print('Task created:
http://koji.fedoraproject.org/koji/taskinfo?taskID=%d' %
s.build('git://pkgs.fedoraproject.org/rpms/geronimo-jta?#430498207b8f...;,
'f26', {}, 0, 'livecd'))
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk