Run nova functional tests on upper-constraints.txt changes

In order to reduce the risk of potential fall-out with upper-constraints
changes in global-requirements we'd like to start running functional
tests in projects. Start with Nova as a guinea pig.

Change-Id: Idd1b4e5d17d09684d2ae0e56e1d94ac1175eebe1
This commit is contained in:
Dirk Mueller 2017-02-22 22:11:24 +01:00
parent 5801d3faa0
commit f5f88bbae4
2 changed files with 35 additions and 0 deletions

View File

@ -156,6 +156,33 @@
node: '{node}'
- job-template:
name: 'gate-cross-{name}-func-{node}'
description: 'Same job as gate-{name}-tox-functional but clones {name}'
wrappers:
- build-timeout:
timeout: 50
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints-cross:
project: openstack/{name}
- install-distro-packages
- extra-test-setup
- revoke-sudo
- run-tox:
envlist: 'functional'
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-{python}-with-oslo-master'
node: ubuntu-xenial
@ -536,6 +563,7 @@
node: ubuntu-xenial
jobs:
- 'gate-cross-{name}-python27-{node}'
- 'gate-cross-{name}-func-{node}'
- job-group:

View File

@ -2007,6 +2007,12 @@ jobs:
- name: ^gate-cross-.*-python.*$
files: ^upper-constraints.txt$
# Only run the cross functional tests on upper-constraints.txt updates
- name: ^gate-cross-.*-func-.*$
files: ^upper-constraints.txt$
# NOTE(dmllr) make voting once it passes
voting: false
- name: ^gate-puppet-openstackci-puppet-beaker-rspec-.*$
voting: false
@ -16931,6 +16937,7 @@ projects:
- gate-cross-keystone-python27-ubuntu-xenial
- gate-cross-neutron-python27-ubuntu-xenial
- gate-cross-nova-python27-ubuntu-xenial
- gate-cross-nova-func-ubuntu-xenial
- gate-cross-swift-python27-ubuntu-xenial
gate:
- gate-requirements-pep8-ubuntu-trusty