Support for github commit status

Github reporter sets commit status of pull request based on the result
of the pipeline.

Change-Id: Id95bf0dbaa710c555e3a1838d3430e18ac9501aa
Co-Authored-By: Jesse Keating <omgjlk@us.ibm.com>
This commit is contained in:
Jan Hruban
2017-01-03 15:03:09 +01:00
committed by Jesse Keating
parent 6d53c5ebdd
commit e252a73a46
8 changed files with 180 additions and 8 deletions

View File

@@ -0,0 +1,45 @@
- pipeline:
name: check
description: Standard check
manager: independent
trigger:
github:
- event: pull_request
action: opened
start:
github:
status: 'pending'
comment: false
success:
github:
status: 'success'
- pipeline:
name: reporting
description: Uncommon reporting
manager: independent
trigger:
github:
- event: pull_request
action: comment
comment: 'reporting check'
start:
github: {}
success:
github:
comment: false
failure:
github:
comment: false
- job:
name: project-test1
- project:
name: org/project
check:
jobs:
- project-test1
reporting:
jobs:
- project-test1

View File

@@ -3,6 +3,7 @@ server=127.0.0.1
[zuul]
job_name_in_report=true
status_url=http://zuul.example.com/status
[merger]
git_dir=/tmp/zuul-test/git