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:
committed by
Jesse Keating
parent
6d53c5ebdd
commit
e252a73a46
45
tests/fixtures/layouts/reporting-github.yaml
vendored
Normal file
45
tests/fixtures/layouts/reporting-github.yaml
vendored
Normal 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
|
||||
1
tests/fixtures/zuul-github-driver.conf
vendored
1
tests/fixtures/zuul-github-driver.conf
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user