On Thu, Mar 11, 2021 at 18:59 Miro Hrončok wrote:
> Hello,
>
> Zuul now does this for noarch packages:
>
> check-for-arches : SUCCESS in 1m 06s
> rpm-scratch-build : SUCCESS in 9m 07s
> rpm-scratch-build-s390x : SKIPPED (non-voting)
> rpm-scratch-build-ppc64le : SKIPPED (non-voting)
> rpm-scratch-build-i686 : SKIPPED (non-voting)
> rpm-scratch-build-armv7hl : SKIPPED (non-voting)
> rpm-scratch-build-aarch64 : SKIPPED (non-voting)
>
> Is there a way we can opt-in for arch-specific scratch-builds of our noarch
> packages for the sake of running the %check section on all architectures?
>
> Thanks,
The new `check-for-arches` job is defined as:
https://pagure.io/fedora-zuul-jobs-config/blob/master/f/playbooks/rpm/check-for-arches.yaml
I guess we can add a job variable to skip the check and always return
the list of available arch. For example I proposed:
https://pagure.io/fedora-zuul-jobs-config/pull-request/111#request_diff
It is merged. Thanks.
Then we can set that variable for a project, either through one of
the config definition, e.g.:
https://pagure.io/fedora-zuul-jobs-config/blob/master/f/zuul.d/projects.yaml#_100
So yes adding the check_for_arches_ignore: true enabled the required behavior.
Last recheck on python-gear run all arch dependent jobs:
So I think that's usable now, feel free to propose a change on fedora-zuul-jobs-config.
Either through a per project configuration, e.g.:
https://src.fedoraproject.org/fork/tdecacqu/rpms/systemd/blob/rawhide/f/.zuul.yaml
For per project configuration, we need to relax the zuul configuration to enable
loading local configuration files, it was done like this for systemd:
https://pagure.io/fedora-project-config/c/242f368455a552ebffc60b221aa8588ba3648618?branch=master
Yes that's also a solution to set the var.
Fabien