Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-09 Thread Ghanshyam Mann
On Wed, May 2, 2018 at 11:21 PM, James E. Blair wrote: > Joshua Hesketh writes: > >>> >>> I think in actuality, both operations would end up as intersections: >>> >>> === === >>> Matcher Template Project Result >>> =

Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-02 Thread James E. Blair
Joshua Hesketh writes: >> >> I think in actuality, both operations would end up as intersections: >> >> === === >> Matcher Template Project Result >> === === >> files ABBC B >> irreleva

Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-02 Thread Joshua Hesketh
> > I think in actuality, both operations would end up as intersections: > > === === > Matcher Template Project Result > === === > files ABBC B > irrelevant-files ABBC B >

Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-01 Thread Wesley Hayutin
On Tue, May 1, 2018 at 1:23 PM Emilien Macchi wrote: > On Tue, May 1, 2018 at 10:02 AM, James E. Blair > wrote: > [...] > > Okay, let's summarize: >> >> Proposal 1: All project-template and project-local job variants matching >> the item's branch must also match the item. >> >> * Files and irrel

Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-01 Thread James E. Blair
cor...@inaugust.com (James E. Blair) writes: > So a job with "files: tests/" and "irrelevant-files: docs/" would > never run because it's impossible to satisfy both. Jeremy pointed out in IRC that that's not what would happen. So... let me rephrase that: > So a job with "files: tests/" and "irr

Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-01 Thread Emilien Macchi
On Tue, May 1, 2018 at 10:02 AM, James E. Blair wrote: [...] > Okay, let's summarize: > > Proposal 1: All project-template and project-local job variants matching > the item's branch must also match the item. > > * Files and irrelevant-files on project-template and project stanzas are > essenti

Re: [openstack-dev] Overriding project-templates in Zuul

2018-05-01 Thread James E. Blair
Joshua Hesketh writes: > I might be misunderstanding at which point a job is chosen to be ran and > therefore when it's too late to dissuade it. However, if possible, would it > make more sense for the project-local copy of a job to overwrite the > supplied files and irrelevant-files? This would

Re: [openstack-dev] Overriding project-templates in Zuul

2018-04-30 Thread Joshua Hesketh
On Tue, May 1, 2018 at 1:58 AM, James E. Blair wrote: > Hi, > > If you've had difficulty overriding jobs in project-templates, please > read and provide feedback on this proposed change. > > We tried to make the Zuul v3 configuration language as intuitive as > possible, and incorporated a lot tha

Re: [openstack-dev] Overriding project-templates in Zuul

2018-04-30 Thread Emilien Macchi
On Mon, Apr 30, 2018 at 8:58 AM, James E. Blair wrote: [...] > === === > Matcher Template Project Result > === === > files ABBC ABC > irrelevant-files ABBC B > ==

[openstack-dev] Overriding project-templates in Zuul

2018-04-30 Thread James E. Blair
Hi, If you've had difficulty overriding jobs in project-templates, please read and provide feedback on this proposed change. We tried to make the Zuul v3 configuration language as intuitive as possible, and incorporated a lot that we learned from our years running Zuul v2. One thing that we didn