blob: 0ad0894880cb02b81ba26decba2fd08c42428a4b [file] [log] [blame]
- pipeline:
name: check
description: |
Newly uploaded patchsets enter this pipeline to receive an
initial +/-1 Verified vote.
manager: independent
precedence: low
trigger:
gerrit:
- event: patchset-created
username: '^avm99963|renovate-bot$'
- event: change-restored
username: '^avm99963|renovate-bot$'
- event: comment-added
approval:
Commit-Queue: 1
enqueue:
gerrit:
comment: False
checks-api:
scheme: 'zuul-check'
state: SCHEDULED
message: 'Change has been enqueued in check'
start:
gerrit:
comment: False
checks-api:
scheme: 'zuul-check'
state: RUNNING
message: 'Jobs have started running'
no-jobs:
gerrit:
comment: False
Verified: 1
checks-api:
scheme: 'zuul-check'
state: NOT_RELEVANT
message: 'No jobs were triggered'
dequeue:
gerrit:
comment: False
checks-api:
scheme: 'zuul-check'
state: NOT_RELEVANT
message: 'Change has been dequeued'
success:
gerrit:
comment: False
Verified: 1
checks-api:
scheme: 'zuul-check'
state: SUCCESSFUL
message: 'Change passed all voting jobs'
failure:
gerrit:
comment: True
Verified: -1
checks-api:
scheme: 'zuul-check'
state: FAILED
message: 'Change failed'
- pipeline:
name: nightly-build
description: |
Pipeline for nightly builds, executed everyday.
manager: serial
precedence: low
post-review: True
trigger:
timer:
time: 2 0 * * *
failure:
smtp:
subject: 'gerrit @nightly-build failed'
- pipeline:
name: post
description: |
Updates to a branch enter this pipeline.
manager: supercedent
precedence: low
post-review: True
trigger:
gerrit:
- event: ref-updated
failure:
smtp:
subject: "gerrit @post failed"