Enable Tempest test job also for sahara-tests

Reuse the same job definition used for Sahara, but enable it only
when Tempest files are changed (and not documentation or code
of the scenario tests).

Non-voting for now until it is properly tested.

Change-Id: I78d246d46ae86964a2fa319d3cf937b9d66ca972
This commit is contained in:
Luigi Toscano 2016-06-17 15:25:14 +02:00
parent 07f0045ade
commit 4f436c4dff
2 changed files with 21 additions and 0 deletions

View File

@ -8505,6 +8505,11 @@
node: ubuntu-trusty
job-suffix: ''
branch-override: default
- '{pipeline}-tempest-dsvm-sahara{job-suffix}':
pipeline: gate
node: ubuntu-trusty
job-suffix: '-nv'
branch-override: default
- '{pipeline}-{name}-dsvm-scenario-{network}-{engine}{job-suffix}':
pipeline: gate
node: ubuntu-trusty

View File

@ -2053,6 +2053,21 @@ jobs:
- name: gate-sahara-tests-pylint
voting: false
# run tempest tests for sahara-tests only when the directory
# which contains the tempest tests is changed.
- name: ^gate-tempest-dsvm-sahara.*$
skip-if:
- project: ^openstack/sahara-tests$
all-files-match-any:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^etc/.*$
- ^sahara_tests/.*$
- ^sahara_cli_tests/.*$
- ^tools/.*$
- ^tox.ini$
- name: gate-app-catalog-ui-dsvm-integration
voting: false
@ -11451,6 +11466,7 @@ projects:
- name: release-notes-jobs
check:
- gate-sahara-tests-pylint
- gate-tempest-dsvm-sahara-nv
- gate-sahara-tests-dsvm-scenario-neutron-heat
- gate-sahara-tests-dsvm-scenario-nova-heat
gate: