system-config/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml
Monty Taylor 764ee8c74f Delete select-mirror and all the args
It turns out that we pass a lot of args around simply for the
purpose of doing mirror selection. This goes away if everything
gets a mirror.

This change should only be merged after the parent change has
propagated to all puppeted slaves and updated nodepool images.

Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Change-Id: I4a721f6559d7160c8213268a8c1e35c667a67a4f
2014-08-06 02:04:43 +00:00

276 lines
4.8 KiB
YAML

- job-template:
name: '{name}-coverage'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- coverage
publishers:
- coverage-log
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-pep8'
builders:
- revoke-sudo
- gerrit-git-prep
- pep8
publishers:
- console-log
node: '{node}'
- job-template:
name: 'experimental-swift-logs-{name}-pep8'
builders:
- revoke-sudo
- gerrit-git-prep
- pep8:
- zuul_swift_upload_logs_with_console:
upload_source: '.tox/pep8/log'
publishers:
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-pylint'
builders:
- revoke-sudo
- gerrit-git-prep
- pylint
publishers:
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-python26'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- shell: |
#!/bin/bash -xe
if ! rpm -ql libffi-devel >/dev/null ; then
sudo yum install -y libffi-devel
fi
rpm -ql libffi-devel
- revoke-sudo
- gerrit-git-prep
- python26
- assert-no-extra-files
publishers:
- test-results
- console-log
node: bare-centos6
- job-template:
name: 'gate-{name}-python27'
wrappers:
- build-timeout:
timeout: 50
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- python27
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-python33'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- python33
- assert-no-extra-files
publishers:
- test-results
- console-log
node: py3k-precise
- job-template:
name: 'gate-{name}-python34'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- python34
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-pypy'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- pypy
- assert-no-extra-files
publishers:
- test-results
- console-log
node: py3k-precise
- job-template:
name: 'gate-{name}-docs'
builders:
- revoke-sudo
- gerrit-git-prep
- docs
publishers:
- console-log
- upload-sphinx-draft
node: '{node}'
- job-template:
name: 'gate-{name}-tox-{envlist}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: '{name}-tarball'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- tarball
publishers:
- tarball:
project: '{name}'
site: '{tarball-site}'
- wheel:
project: '{name}'
site: '{tarball-site}'
- console-log
- job-template:
name: '{name}-branch-tarball'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- tarball
- 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
- job-template:
name: 'gate-{name}-requirements'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/project-requirements-change.py $ZUUL_BRANCH
publishers:
- console-log
- job-group:
name: python-jobs
jobs:
- '{name}-coverage'
- 'gate-{name}-pep8'
- 'gate-{name}-python26'
- 'gate-{name}-python27'
- 'gate-{name}-python33'
- 'gate-{name}-python34'
- 'gate-{name}-pypy'
- 'gate-{name}-docs'
- 'gate-{name}-requirements'
- '{name}-tarball'
- '{name}-branch-tarball'
# pylint isn't standard
# gate-{name}-tox-{envlist} also isn't standard, but is reserved for
# projects that want to run specific jobs via tox