Modify the check-uc jobs to only trigger on upper-constratints changes
This is important as [1] is designed to fix a py3 issue but didn't check
it.
[1]
@@ -2153,10 +2153,15 @@ jobs:
files: ^upper-constraints.txt$
branch: ^(?!stable/(newton|ocata)).*$
- # Run this only for Queens+
+ # Run this only when upper-constraints.txt or upper-constraints-xfails.txt are changed.
+ - name: ^gate-requirements-tox-py27-check-uc-ubuntu-xenial$
+ files: ^upper-constraints.*txt$
+
+ # Run this only when upper-constraints.txt or upper-constraints-xfails.txt are changed.
+ # Also run this only for Queens+
- name: ^gate-requirements-tox-py35-check-uc-ubuntu-xenial$
- files: ^upper-constraints.txt$
branch: ^(?!stable/(newton|ocata|pike)).*$
+ files: ^upper-constraints.*txt$
# Only run the cross functional tests on upper-constraints.txt updates
- name: ^gate-cross-.*-func-.*$
