
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
83 lines
2.2 KiB
YAML
83 lines
2.2 KiB
YAML
- project:
|
|
name: MRaaS
|
|
github-org: stackforge
|
|
node: precise
|
|
|
|
- job:
|
|
name: gate-MRaaS-merge
|
|
concurrent: false
|
|
node: oneiric
|
|
|
|
properties:
|
|
- github:
|
|
url: https://github.com/stackforge/MRaaS
|
|
- throttle:
|
|
max-per-node: 0
|
|
max-total: 0
|
|
option: project
|
|
enabled: false
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
triggers:
|
|
- gerrit:
|
|
triggerOnPatchsetUploadedEvent: 'false'
|
|
triggerOnChangeMergedEvent: 'false'
|
|
triggerOnCommentAddedEvent: 'true'
|
|
triggerOnRefUpdatedEvent: 'false'
|
|
triggerApprovalCategory: 'APRV'
|
|
triggerApprovalValue: 1
|
|
failureMessage: 'This change was unable to be automatically merged with the current state of the repository. Please rebase your change and upload a new patchset.'
|
|
projects:
|
|
- projectCompareType: 'PLAIN'
|
|
projectPattern: 'stackforge/MRaaS'
|
|
branchCompareType: 'ANT'
|
|
branchPattern: '**'
|
|
|
|
builders:
|
|
- gerrit_git_prep
|
|
|
|
|
|
- job:
|
|
name: check-MRaaS-merge
|
|
concurrent: false
|
|
node: oneiric
|
|
|
|
properties:
|
|
- github:
|
|
url: https://github.com/stackforge/MRaaS
|
|
- throttle:
|
|
max-per-node: 0
|
|
max-total: 0
|
|
option: project
|
|
enabled: false
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
triggers:
|
|
- gerrit:
|
|
triggerOnPatchsetUploadedEvent: 'true'
|
|
triggerOnChangeMergedEvent: 'false'
|
|
triggerOnCommentAddedEvent: 'false'
|
|
triggerOnRefUpdatedEvent: 'false'
|
|
overrideVotes: 'true'
|
|
gerritBuildSuccessfulVerifiedValue: 1
|
|
gerritBuildFailedVerifiedValue: -1
|
|
failureMessage: 'This change was unable to be automatically merged with the current state of the repository. Please rebase your change and upload a new patchset.'
|
|
projects:
|
|
- projectCompareType: 'PLAIN'
|
|
projectPattern: 'stackforge/MRaaS'
|
|
branchCompareType: 'ANT'
|
|
branchPattern: '**'
|
|
|
|
builders:
|
|
- gerrit_git_prep
|