fix trove ci skip-if
It appears that there can only be one skip-if and you have to figure out how to encode all of the conditions you want into one skip-if. Luckily, this is sufficient for trove's usage; skip the job on two projects if the branches are not stable/liberty/mitaka or newton. For example, see http://logs.openstack.org/93/382493/4/check/. This was a change on master and both the legacy and non-legacy jobs got run. They would pass now because the contents of the two repos have not diverged; that's not the point, they shouldn't both be run :) Change-Id: I8609d16b3442374ec1c44ba5b1ec247342b3fe7c
This commit is contained in:
@@ -2944,10 +2944,7 @@ jobs:
|
||||
# liberty, mitaka and newton.
|
||||
- name: ^gate-trove-legacy-functional-dsvm-.*$
|
||||
skip-if:
|
||||
- project: ^openstack/trove$
|
||||
branch: ^(?!stable/(liberty|mitaka|newton)).*$
|
||||
skip-if:
|
||||
- project: ^openstack/python-troveclient$
|
||||
- project: ^openstack/(trove|python-troveclient)$
|
||||
branch: ^(?!stable/(liberty|mitaka|newton)).*$
|
||||
|
||||
- name: ^gate-trove-functional-dsvm-.*$
|
||||
|
||||
Reference in New Issue
Block a user