Refactor releasenote branch condition

Split one very very long regex into two very long ones for easier
review.

Change-Id: Ia78b03376b2fe32ba07e84f2d93db2ec2527e0df
This commit is contained in:
Andreas Jaeger 2016-04-11 15:07:59 +02:00
parent 84347fc95a
commit c652e0ef16

View File

@ -2620,7 +2620,11 @@ jobs:
- '^.*requirements.txt$'
# Some projects do not have releasenotes until the Mitaka cycle
- name: ^gate-(keystoneauth|keystonemiddleware|python-saharaclient|python-ironicclient|python-keystoneclient|python-neutronclient|python-openstackclient|os-client-config|packstack|puppet-.*)-releasenotes$
- name: ^gate-(keystoneauth|keystonemiddleware|os-client-config|packstack|puppet-.*)-releasenotes$
branch: ^(?!stable/(?:juno|kilo|liberty)).*$
# Some python client projects do not have releasenotes until the Mitaka cycle
- name: ^gate-python-(saharaclient|ironicclient|keystoneclient|neutronclient|openstackclient)-releasenotes$
branch: ^(?!stable/(?:juno|kilo|liberty)).*$
# skip gate-openstack-ansible-releasenotes jobs for juno & kilo branches