Require correct regular expression for always-dynamic-branches tenant config
Hi ,
We want to apply the tenant configuration always-dynamic-branches for branch names starting with “Feature” and “Release”
We have used the following regular expression :
gerrit: config-projects: - zuul-config untrusted-projects: - CCB: exclude: - pipeline - project - job - semaphore - nodeset - secret - project-template include-branches: ^((Feature|Release)(/))?(CCB\d+)(/.*)?$ always-dynamic-branches: - "^Feature/.*" - "^Release/.*" shadow: zuul-config
this does not seem to be working as zuul is still loading zuul configs from these branches.
2024-03-18 09:50:33,208 INFO zuul.TenantParser: Loading configuration from CCB_DTM/zuul.yaml@Release/CCB9/TCL_F8 2024-03-18 09:50:33,225 DEBUG zuul.TenantParser: Waiting for cat job <zuul.zk.event_queues.JobResultFuture object at 0x7f6bc7a326a0> 2024-03-18 09:50:34,007 DEBUG zuul.TenantParser: Cat job <zuul.zk.event_queues.JobResultFuture object at 0x7f6bc7a326a0> got files dict_keys(['.zuul.yaml', 'zuul.yaml']) 2024-03-18 09:50:34,008 INFO zuul.TenantParser: Loading configuration from CCB_DTM/zuul.yaml@Release/CCB9/TCL_F8_1 2024-03-18 09:50:34,024 DEBUG zuul.TenantParser: Waiting for cat job <zuul.zk.event_queues.JobResultFuture object at 0x7f6bc7a3d520>
Can you please suggest the correct regular expression for this tenant configuration.
We are using zuul version 8.3.1
Regards,
Mithun
Western Digital
participants (1)
-
Mithun Mistry