Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions zuul.d/pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,33 @@
name: check
description: |
Newly uploaded patchsets enter this pipeline to receive an
initial check status.
initial check status. For PRs from Developers (write access),
runs automatically. For external PRs, requires the ok-to-test
label to be added by a member of the stackhpc/Developers GitHub group.
manager: independent
require:
github:
open: True
current-patchset: True
trigger:
github:
# Run this pipeline on new/changed pull requests
# Run automatically for write-access users (stackhpc/Developers)
- event: pull_request
action:
- opened
- changed
- reopened
# Run in response to a pull request comment "recheck"
permission: write
# Run when a Developers member adds ok-to-test label to an external PR
Comment thread
Alex-Welsh marked this conversation as resolved.
- event: pull_request
action: labeled
label:
- ok-to-test
# Run in response to a pull request comment "recheck" by write-access users
- event: pull_request
action: comment
comment: (?i)^\s*recheck(\s.*)?$
permission: write
# When using the checks API to report results, failed runs
# will have a "re-run" button which emits this event.
- event: check_run
Expand Down Expand Up @@ -53,6 +66,23 @@
check: cancelled
comment: false

- pipeline:
name: check-dismiss
description: |
Silently removes the ok-to-test label when new commits are pushed to a
pull request, requiring a Developers member to re-approve before CI runs.
manager: independent
trigger:
github:
- event: pull_request
action:
- changed
- reopened
start:
github:
unlabel: ok-to-test
comment: false

- pipeline:
name: check-review
description: |
Expand Down
3 changes: 3 additions & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: ^.*$
check:
jobs: []
check-dismiss:
jobs:
- noop
gate:
jobs: []

Expand Down