<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 13, 2018 at 3:06 PM Paul Belanger <<a href="mailto:pabelanger@redhat.com">pabelanger@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Feb 13, 2018 at 11:05:34PM +0900, gmann wrote:<br>
> Hi Infra Team,<br>
><br>
> I have 1 quick question on zuulv3 jobs and their migration part. From<br>
> zuulv3 doc [1], it is clear about migrating the job definition and use<br>
> those among cross repo pipeline etc.<br>
><br>
> But I did not find clear recommendation that whether project's<br>
> pipeline definition should stay in project-config or we should move<br>
> that to project side.<br>
><br>
> IMO,<br>
> 'template' part(which has system level jobs) can stay in<br>
> project-config. For example below part-</blockquote><div> </div><div>I think there are pros and cons in both cases, but I lean more towards having everything</div><div>in tree.</div><div><br></div><div>If everything moves into the project then the configuration of what runs for a project is more</div><div>or less in one place, so it's a bit more readable and projects are in control.</div><div><br></div><div>On the other side adding a template maintained by infra/qa to a number of projects transforms</div><div>into a potentially very large set of changes. But I don't think adding a new template happens</div><div>so often, and it would still be possible for infra/qa to define usage of that template in project-config</div><div>and then for projects to move that in tree over time.</div><div><br></div><div>Andrea Frittoli (andreaf)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
> <a href="https://github.com/openstack-infra/project-config/blob/e2b82623a4ab60261b37a91e311118301927b9b6/zuul.d/projects.yaml#L10507-L10523" rel="noreferrer" target="_blank">https://github.com/openstack-infra/project-config/blob/e2b82623a4ab60261b37a91e311118301927b9b6/zuul.d/projects.yaml#L10507-L10523</a><br>
><br>
> Other pipeline definition- 'check', 'gate', 'experimental' etc should<br>
> be move to project repo, mainly this list-<br>
> <a href="https://github.com/openstack-infra/project-config/blob/master/zuul.d/projects.yaml#L10524-L11019" rel="noreferrer" target="_blank">https://github.com/openstack-infra/project-config/blob/master/zuul.d/projects.yaml#L10524-L11019</a><br>
><br>
> If we move those past as mentioned above then, we can have a<br>
> consolidated place to control the project pipeline for<br>
> 'irrelevant-files', specific branch etc<br>
><br>
> ..1 <a href="https://docs.openstack.org/infra/manual/zuulv3.html" rel="noreferrer" target="_blank">https://docs.openstack.org/infra/manual/zuulv3.html</a><br>
><br>
As it works today, pipeline stanza needs to be in a config project[1]<br>
(project-config) repo. So what you are suggestion will not work. This was done<br>
to allow zuul admins to control which pipelines are setup / configured.<br></blockquote><div><br></div><div>I think gmann referred to the list of jobs defined in each pipeline by a project</div><div>as opposed to the definition of the pipeline itself.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I am mostly curious why a project would need to modify a pipeline configuration<br>
or duplicate it into all projects, over having it central located in<br>
project-config.<br>
<br>
[1] <a href="https://docs.openstack.org/infra/zuul/user/config.html#pipeline" rel="noreferrer" target="_blank">https://docs.openstack.org/infra/zuul/user/config.html#pipeline</a><br>
><br>
> -gmann<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div>