Re: Strange koji failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?#430498207b8f34724454bbf7970c2c200f76e84a',
'f26', {}, 0, 'livecd'))

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux