James E. Blair 8f09841693 Refactor modules and templating.
Switch to using entry points for loading modules as well as
individual buliders, triggers, publishers, etc.

Remove most openstack-specific python code.

Change templating so it's less repetitive -- a single project
definition will suffice for multiple jobs or job-groups.

This outputs XML that is identical to the current production XML,
warts and all.  There are significant improvements that can be made
to the YAML in a separate change, as they will cause minor changes
to existing jobs (adding timestamps, logrotate, etc.).  These are
mostly marked with TODO in this change.

Change-Id: Idcfddb3b43b6cfef4b20919a84540706d7a0a0b1
Reviewed-on: https://review.openstack.org/11000
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-10 16:00:42 +00:00

63 lines
1.1 KiB
YAML

#project:
# template: 'python_jobs'
#
#values:
# name: 'zuul'
# disabled: 'false'
# github_org: 'openstack-ci'
# review_site: 'review.openstack.org'
# node: 'precise'
#
#---
- job:
name: gate-zuul-pyflakes
project-type: freestyle
concurrent: true
timeout: 20
timeout_fail: true
triggers:
- zuul
builders:
- gerrit_git_prep
- pyflakes
assignednode:
node: 'precise'
- job:
name: zuul-docs
project-type: freestyle
#review_site: 'review.openstack.org'
#github_org: 'openstack-ci'
#project: 'zuul'
#authenticatedBuild: 'false'
concurrent: true
timeout: 20
timeout_fail: true
triggers:
- zuul_post
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- gerrit_git_prep
- docs
post_build_actions:
- scp:
site: '173.203.107.207'
source: 'doc/build/html/**/*'
target_path: 'ci/zuul'
keep_heirarchy: 'true'
assignednode:
node: 'precise'