project-config/jenkins/jobs/python-bitrot-jobs.yaml
Matthew Treinish 27df066b5c
Setup periodic stable liberty jobs
With the recent creation of the liberty branches we need to add the
periodic stable jobs to sanity check the state of the stable branches
to see if there are any issues with the branch. This commit adds the
necessary bit to start running these jobs.

Change-Id: I9285a2a1b0054b4d360175ced1a3e035be7fc1b6
2015-09-30 15:59:27 -04:00

100 lines
2.0 KiB
YAML

- job-template:
name: 'periodic-{name}-python26{branch-name}'
wrappers:
- build-timeout:
timeout: 60
- 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
- branch-git-prep:
branch: '{branch}'
- python26
- assert-no-extra-files
publishers:
- test-results
- console-log
node: bare-centos6
- job-template:
name: 'periodic-{name}-python27{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- python27
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-docs{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- docs
publishers:
- console-log
node: '{node}'
- job-group:
name: python-juno-bitrot-jobs
branch: 'stable/juno'
branch-name: '-juno'
node: 'bare-precise || bare-trusty'
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-kilo-bitrot-jobs
branch: 'stable/kilo'
branch-name: '-kilo'
node: 'bare-precise || bare-trusty'
jobs:
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-liberty-bitrot-jobs
branch: 'stable/liberty'
branch-name: '-liberty'
node: 'bare-precise || bare-trusty'
jobs:
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'