On Wed, Jun 16, 2021 at 10:28 Sam Wan wrote:
> Dear all,
>
> I've already setup a working softwarefactory and run some test jobs on my 
> openstack nodepool provider.
> And I've added openstack gerrit connection.
> [cid:[email protected]]
> However when I look at the guide: 
> https://softwarefactory-project.io/docs/guides/unmanaged_tenant.html,
> I don't quite understand how I can add jobs to run based on the projects of 
> openstack gerrit that I'm interested in.
>
> Something like our current setting in /etc/zuul/layout.yaml (for zuulv2), for 
> example.
> ...
> projects:
>   - name: openstack/cinder
>     check:
>       - DellEMC_SC_FC
>       - DellEMC_SC_iSCSI
> ...
>
> I'm looking for some key steps in configuring this.
>
> Could someone please share an example config of your openstack 3rd party CI 
> systems?
> Or any hint/guide would be appreciated.
>
> Thanks and best regards
>


Hi Sam Wan,

With ZuulV3, you can define any project pipeline configuration from a
config project.

A common strategy is to define project template in a regular (untrusted
project) and assign them from a config project. This let you try jobs
speculatively (e.g. without merging potentially breaking change).

Here is an example from the rdo project configuration:

- 
https://review.rdoproject.org/cgit/rdo-jobs/tree/zuul.d/project-templates.yaml#n171
- https://review.rdoproject.org/cgit/config/tree/zuul.d/projects.yaml#n249

You can put both configuration into a single config project if you
prefer, but that you will not be able to test the job modification.
The update workflow goes looks like this:

- Propose a change (A) to your jobs project (e.g. modifying an existing job
  or adding a new job to the template)
- Propose a change (B) in opendev with a depends on (A)
- If that does not work, update the change (A) and recheck the change
  (B).


Note that we are working on a more complete guide here:
  https://softwarefactory-project.io/r/c/software-factory/sf-docs/+/17097

Regards,
-Tristan

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Softwarefactory-dev mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/softwarefactory-dev

Reply via email to