On 12/22/2016 09:50 AM, Vít Ondruch wrote:
Dne 22.12.2016 v 09:27 Mikolaj Izdebski napsal(a):
> On 12/22/2016 05:06 AM, Christopher wrote:
>> The failure yesterday that I was thinking of was:
>>
https://koji.fedoraproject.org/koji/taskinfo?taskID=17004112
>>
>> Re-submitting it 4 minutes later passed just fine:
>>
https://koji.fedoraproject.org/koji/taskinfo?taskID=17004125
> These builds were ran on different architectures - the first one on
> aarch64 and the second one - x86_64. nodejs package is available only on
> x86_64, so failure on aarch64 was expected.
>
Honestly this is annoying misbehavior. How we can tell Koji to avoid
certain builders for certain noarch packages? Wouldn't be possible to
build noarch packages just on primary arch builders for example?
It is doable by using Koji channels.
Koji has a policy which could be used to select channel automatically
depending on various things, like package name. For example, eclipse
packages are built in their own eclipse channel. See [1].
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.
[1]
https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/koji...
[2]
https://koji.fedoraproject.org/koji/channelinfo?channelID=6
[3]
https://koji.fedoraproject.org/koji/taskinfo?taskID=13711755
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk