Add cover-constraints jobs to Neutron

Adds cover-constraints jobs and adds it to Neutron's check queue

Implements Blueprint: Requirements-Management

Change-Id: Ia3cb7d69cac0e4763525516702aea0b214400c94
This commit is contained in:
Sachi King
2015-09-28 17:56:51 +10:00
parent 29dc96d915
commit 66e6468d50
5 changed files with 28 additions and 4 deletions

View File

@@ -114,7 +114,7 @@
- builder: - builder:
name: coverage name: coverage
builders: builders:
- shell: "/usr/local/jenkins/slave_scripts/run-cover.sh" - shell: "/usr/local/jenkins/slave_scripts/run-cover.sh {env}"
- builder: - builder:
name: docs-env name: docs-env

View File

@@ -9,7 +9,8 @@
builders: builders:
- revoke-sudo - revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- coverage - coverage:
env: cover
publishers: publishers:
- zuul-swift-upload-logs-with-console: - zuul-swift-upload-logs-with-console:
@@ -17,6 +18,25 @@
node: '{node}' node: '{node}'
- job-template:
name: '{name}-coverage-constraints'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- zuul-git-prep-upper-constraints
- coverage:
env: cover-constraints
publishers:
- zuul-swift-upload-logs-with-console:
upload_source: 'cover-constraints/'
node: '{node}'
- job-template: - job-template:
name: 'gate-{name}-pep8' name: 'gate-{name}-pep8'
@@ -389,6 +409,7 @@
- job-group: - job-group:
name: python-constraints-jobs name: python-constraints-jobs
jobs: jobs:
- '{name}-coverage-constraints'
- 'gate-{name}-pep8-constraints' - 'gate-{name}-pep8-constraints'
- 'gate-{name}-python27-constraints' - 'gate-{name}-python27-constraints'
- 'gate-{name}-python34-constraints' - 'gate-{name}-python34-constraints'

View File

@@ -5,7 +5,8 @@
builders: builders:
- revoke-sudo - revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- coverage - coverage:
env: cover
publishers: publishers:
- coverage-log - coverage-log

View File

@@ -5,8 +5,9 @@
# what packages we ended up testing. # what packages we ended up testing.
export NOSE_COVER_HTML=1 export NOSE_COVER_HTML=1
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
venv=cover venv=${1:-cover}
# Workaround the combo of tox running setup.py outside of virtualenv # Workaround the combo of tox running setup.py outside of virtualenv
# and RHEL having an old distribute. The next line can be removed # and RHEL having an old distribute. The next line can be removed

View File

@@ -5965,6 +5965,7 @@ projects:
- gate-tempest-dsvm-neutron-large-ops - gate-tempest-dsvm-neutron-large-ops
post: post:
- neutron-coverage - neutron-coverage
- neutron-coverage-constraints
experimental: experimental:
- gate-grenade-dsvm-neutron-forward - gate-grenade-dsvm-neutron-forward
- gate-grenade-dsvm-neutron-sideways - gate-grenade-dsvm-neutron-sideways