#392 Zuul CI: Finding existing nodesets to setup per-branch CI
Closed by siosm. Opened by siosm.

in https://pagure.io/fedora-ci/general/issue/388, I've come to understand that by default we run all jobs on the latest stable.

I would like to set per a branch config to have the CI system match the branch for non-package repos.

Where can I find a list of the available nodesets?

I've found https://fedora.softwarefactory-project.io/zuul/labels but there are no f38 workers and I'm not sure which one / which kind to use for what purpose.

Could this be added to the docs?

Thanks


Hi,

A nodeset is a Zuul config item that groups one or more nodes based on various labels. The list of nodeset are not shown in the Zuul web ui, only labels. See:
- https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.nodeset
- https://zuul-ci.org/docs/zuul/latest/config/nodeset.html

Yes, we don't have yet f38 nodeset, there is a change in progress to get the cloud-fedora-38 label. https://softwarefactory-project.io/r/c/config/+/27464

To handle multiple branches and set the proper nodeset/label per branch you need to use a branches matcher https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.branches
The config here could help to understand https://pagure.io/fedora-zuul-jobs-config/blob/master/f/zuul.d/jobs.yaml

Which doc are you referring to ?

Hope that help.

Metadata Update from @fbo:
- Issue tagged with: Zuul CI

The documentation I'm referring to is the following wiki page: https://fedoraproject.org/wiki/Zuul-based-ci

We now have the cloud-fedora-38 label: https://fedora.softwarefactory-project.io/zuul/labels

For reference, adding new image to the node pool happens via Gerrit in the config repo of Software Factory.

Metadata Update from @siosm:
- Issue status updated to: Closed (was: Open)

Metadata