Add experimental bindep for the python-jobs group

Add experimental bindep-based job-template equivalents of all
job-templates from the normal python-jobs group, wit the exception
of those that operate in post or release which could upload
misleading artifacts (tarballs, release announcements). Coverage
jobs are intentionally added since those should be safe to run on
proposed changes, even though we normally only run them in post.

Change-Id: I0f7b24c564c03930c903e4b257a404a1cd0ef3b8
This commit is contained in:
Jeremy Stanley 2016-02-10 23:24:10 +00:00
parent 662bf14520
commit 8644bc10a2
2 changed files with 153 additions and 1 deletions

View File

@ -1,3 +1,49 @@
- job-template:
name: '{name}-coverage-bindep'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- mysql-prep
- pgsql-prep
- mysql-db:
db_name: openstack_citest
- pgsql-db:
db_name: openstack_citest
- revoke-sudo
- coverage:
env: cover
publishers:
- zuul-swift-upload-logs-with-console:
upload_source: 'cover/'
node: ubuntu-trusty
- job-template:
name: gate-{name}-pep8-bindep
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- pep8:
env: pep8
publishers:
- zuul-swift-upload-console-log
node: ubuntu-trusty
- job-template:
name: gate-{name}-python27-bindep
@ -28,7 +74,107 @@
node: ubuntu-trusty
- job-template:
name: gate-{name}-python34-bindep
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- mysql-prep
- pgsql-prep
- mysql-db:
db_name: openstack_citest
- pgsql-db:
db_name: openstack_citest
- revoke-sudo
- python34
- assert-no-extra-files
publishers:
- test-results
- console-log
- zuul-swift-test-results-with-console
node: ubuntu-trusty
- job-template:
name: gate-{name}-pypy-bindep
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- mysql-prep
- pgsql-prep
- mysql-db:
db_name: openstack_citest
- pgsql-db:
db_name: openstack_citest
- revoke-sudo
- pypy
- assert-no-extra-files
publishers:
- test-results
- console-log
- zuul-swift-test-results-with-console
node: ubuntu-trusty
- job-template:
name: gate-{name}-docs-bindep
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- docs
publishers:
- zuul-swift-upload-console-log
- upload-sphinx-draft
node: ubuntu-trusty
- job-template:
name: gate-{name}-requirements-bindep
node: bare-trusty
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/project-requirements-change.py $ZUUL_BRANCH
publishers:
- zuul-swift-upload-console-log
- job-group:
name: experimental-bindep-jobs
jobs:
- '{name}-coverage-bindep'
- gate-{name}-pep8-bindep
- gate-{name}-python27-bindep
- gate-{name}-python34-bindep
- gate-{name}-pypy-bindep
- gate-{name}-docs-bindep
- gate-{name}-requirements-bindep

View File

@ -681,7 +681,13 @@ project-templates:
- name: experimental-bindep-jobs
experimental:
- gate-nova-python27-bindep
- '{name}-coverage-bindep'
- gate-{name}-pep8-bindep
- gate-{name}-python27-bindep
- gate-{name}-python34-bindep
- gate-{name}-pypy-bindep
- gate-{name}-docs-bindep
- gate-{name}-requirements-bindep
- name: experimental-tripleo-jobs
experimental-tripleo: