Hi Nicolas, I'll go through the hands-on series. Looking forward to your complete guide.
Thanks and best regards =============================== [email protected] E-LAB Dell EMC | Technical Operations IEO Phone: +86 (28) 82966713 -----Original Message----- From: Nicolas Hicher <[email protected]> Sent: 2021年6月18日 21:13 To: Wan, Sam; Tristan Cacqueray; [email protected] Subject: Re: [Softwarefactory-dev] Need more guidance on how to setup 3rd party CI projects [EXTERNAL EMAIL] Hello Sam, A good read if you want to better understand how zuul v3 works is https://urldefense.com/v3/__https://www.softwarefactory-project.io/tag/zuul-hands-on-series.html__;!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJFW3Pt_HBfrLn03-UKAHF0eEDyDVQDoQh$ [softwarefactory-project[.]io] We don't describe third party ci on it, but it's a good read for zuul v3. I will work next week on https://urldefense.com/v3/__https://softwarefactory-project.io/r/c/software-factory/sf-docs/*/17097__;Kw!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJFW3Pt_HBfrLn03-UKAHF0eEDyMROKQRI$ [softwarefactory-project[.]io] to ensure all pieces are in the document. Have a nice day. Nicolas On 6/18/21 2:49 AM, Wan, Sam wrote: > Hi Tristan, > > First thanks a lot for the tips. > Sorry I'm unfamiliar with zuulv3, although I've read the manuals in zuul > website, I'm still confused about the configuration. > I also read > https://urldefense.com/v3/__https://softwarefactory-project.io/r/c/software-factory/sf-docs/*/17097__;Kw!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJFW3Pt_HBfrLn03-UKAHF0eEDyMROKQRI$ > [softwarefactory-project[.]io] before I sent out the first email. > What I'm looking for is some key steps that I still can't find how I can > configure zuulv3 like zuulv2. > > In zuulv2, the workflow is quite simple: > 1. configure pipeline, projects and jenkins jobs in a single layout.yaml. > 2. configure gearman, gerrit connection and account information in > zuul.conf Then zuul can trigger jobs when the watched events happen. > That's all. > > However in zuulv3, I have some difficulties in figuring out the relationship: > 1. pipeline > 2. projects (openstack gerrit project that I want to watch for events) > 3. jobs > > The example you gave seems incomplete. > Do you have a more straight-forward example with all these 3 components? > For example, to watch events from openstack gerrit cinder project and run > devstack/devstack-gate jobs then. > > Thanks and regards > > =============================== > [email protected] > E-LAB > Dell EMC | Technical Operations IEO > Phone: +86 (28) 82966713 > > -----Original Message----- > From: Tristan Cacqueray <[email protected]> > Sent: 2021年6月16日 20:10 > To: Wan, Sam; [email protected] > Subject: Re: [Softwarefactory-dev] Need more guidance on how to setup > 3rd party CI projects > > > 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://urldefense.com/v3/__https://softwarefactory-project.io/docs/g >> uides/unmanaged_tenant.html__;!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJFW3Pt_HBfrLn03-UKAHF0eEDyIOxRnsW$ >> [softwarefactory-project[.]io], 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://urldefense.com/v3/__https://review.rdoproject.org/cgit/rdo-job > s/tree/zuul.d/project-templates.yaml*n171__;Iw!!LpKI!ysrr1dVtOXqAhMcOL > -tvs5UADjkJFW3Pt_HBfrLn03-UKAHF0eEDyP07zEbj$ > [review[.]rdoproject[.]org] > - > https://urldefense.com/v3/__https://review.rdoproject.org/cgit/config/ > tree/zuul.d/projects.yaml*n249__;Iw!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJ > FW3Pt_HBfrLn03-UKAHF0eEDyGGSdO2p$ [review[.]rdoproject[.]org] > > 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://urldefense.com/v3/__https://softwarefactory-project.io/r/c/sof > tware-factory/sf-docs/*/17097__;Kw!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJF > W3Pt_HBfrLn03-UKAHF0eEDyMROKQRI$ [softwarefactory-project[.]io] > > Regards, > -Tristan > > _______________________________________________ > Softwarefactory-dev mailing list > [email protected] > https://urldefense.com/v3/__https://listman.redhat.com/mailman/listinf > o/softwarefactory-dev__;!!LpKI!ysrr1dVtOXqAhMcOL-tvs5UADjkJFW3Pt_HBfrL > n03-UKAHF0eEDyAwQJA3-$ [listman[.]redhat[.]com] _______________________________________________ Softwarefactory-dev mailing list [email protected] https://listman.redhat.com/mailman/listinfo/softwarefactory-dev
