35e0e9b1d2
The pip-missing-reqs project has been renamed to pip-check-reqs to reflect the added support of finding extra requirements. The tox env for pip-missing-reqs is being renamed to pip-check-reqs and added to more projects: https://review.openstack.org/#/q/topic:pip-check-reqs,n,z There is no need for a depends on tag here as the job is non-voting and in experimental so it isn't worth supporting both names while we work around a cyclic dependency. Change-Id: I74bac819d97c73f66b8b387e37a34425397a1b1c
494 lines
10 KiB
YAML
494 lines
10 KiB
YAML
- job-template:
|
|
name: '{name}-coverage'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- coverage:
|
|
env: cover
|
|
|
|
publishers:
|
|
- zuul-swift-upload-logs-with-console:
|
|
upload_source: 'cover/'
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: '{name}-coverage-constraints'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- 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:
|
|
name: 'gate-{name}-pep8'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- pep8:
|
|
env: pep8
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pep8-constraints'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- pep8:
|
|
env: pep8-constraints
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pylint'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- pylint:
|
|
env: pylint
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pylint-constraints'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- pylint:
|
|
env: pylint-constraints
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python27'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 50
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- python27
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python27-constraints'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 50
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- tox:
|
|
envlist: py27-constraints
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python34'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- python34
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python34-constraints'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- tox:
|
|
envlist: py34-constraints
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pypy'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- pypy
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pypy-constraints'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- tox:
|
|
envlist: pypy-constraints
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-docs'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- docs
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
- upload-sphinx-draft
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-docs-constraints'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- docs-env:
|
|
env: venv-constraints
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
- upload-sphinx-draft
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-tox-{envlist}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: '{envlist}'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-tox-constraints-{envlist}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- tox:
|
|
envlist: '{envlist}'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: '{name}-tarball'
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tarball:
|
|
env: venv
|
|
|
|
publishers:
|
|
- tarball:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- wheel:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job-template:
|
|
name: '{name}-tarball-constraints'
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- zuul-git-prep-upper-constraints
|
|
- revoke-sudo
|
|
- tarball:
|
|
env: venv-constraints
|
|
|
|
publishers:
|
|
- tarball:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- wheel:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job-template:
|
|
name: '{name}-branch-tarball'
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tarball:
|
|
env: venv
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
BRANCH=$ZUUL_REFNAME
|
|
BRANCH_PATH=`echo $BRANCH | tr / -`
|
|
mv dist/*.tar.gz dist/{name}-$BRANCH_PATH.tar.gz
|
|
|
|
publishers:
|
|
- tarball:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job-template:
|
|
name: '{name}-branch-tarball-constraints'
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- zuul-git-prep-upper-constraints
|
|
- tarball:
|
|
env: venv-constraints
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
BRANCH=$ZUUL_REFNAME
|
|
BRANCH_PATH=`echo $BRANCH | tr / -`
|
|
mv dist/*.tar.gz dist/{name}-$BRANCH_PATH.tar.gz
|
|
|
|
publishers:
|
|
- tarball:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-requirements'
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/project-requirements-change.py $ZUUL_BRANCH
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pip-check-reqs'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'pip-check-reqs'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
- zuul-swift-test-results-with-console
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-group:
|
|
name: python-jobs
|
|
jobs:
|
|
- '{name}-coverage'
|
|
- 'gate-{name}-linters'
|
|
- 'gate-{name}-pep8'
|
|
- 'gate-{name}-python27'
|
|
- 'gate-{name}-python34'
|
|
- 'gate-{name}-pypy'
|
|
- 'gate-{name}-docs'
|
|
- 'gate-{name}-requirements'
|
|
- '{name}-tarball'
|
|
- '{name}-branch-tarball'
|
|
# pylint isn't standard
|
|
# pip-check-reqs isn't standard
|
|
# gate-{name}-tox-{envlist} also isn't standard, but is reserved for
|
|
# projects that want to run specific jobs via tox
|
|
|
|
- job-group:
|
|
name: python-constraints-jobs
|
|
jobs:
|
|
- '{name}-coverage-constraints'
|
|
- 'gate-{name}-pep8-constraints'
|
|
- 'gate-{name}-python27-constraints'
|
|
- 'gate-{name}-python34-constraints'
|
|
- 'gate-{name}-pypy-constraints'
|
|
- 'gate-{name}-docs-constraints'
|
|
- '{name}-tarball-constraints'
|
|
- '{name}-branch-tarball-constraints'
|