Initial setup
Change-Id: I9c53328df5a8ccc615906753cb63e0a1f13fb9cf
This commit is contained in:
parent
26c7aba26c
commit
25c1fe8a45
5
zuul.d/README.rst
Normal file
5
zuul.d/README.rst
Normal file
@ -0,0 +1,5 @@
|
||||
pypa Zuul jobs and config
|
||||
=========================
|
||||
|
||||
This repo contains various Zuul configuration used by the pypa tenant
|
||||
in OpenDev's Zuul.
|
146
zuul.d/pipelines.yaml
Normal file
146
zuul.d/pipelines.yaml
Normal file
@ -0,0 +1,146 @@
|
||||
# Shared zuul config specific to the pypa
|
||||
# Contains definitions of pipelines
|
||||
|
||||
- pipeline:
|
||||
name: check
|
||||
description: |
|
||||
Newly uploaded patchsets enter this pipeline to receive an
|
||||
initial +/-1 Verified vote.
|
||||
success-message: Build succeeded (check pipeline).
|
||||
failure-message: |
|
||||
Build failed (check pipeline). For information on how to proceed, see
|
||||
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing
|
||||
manager: independent
|
||||
precedence: low
|
||||
require:
|
||||
gerrit:
|
||||
open: True
|
||||
current-patchset: True
|
||||
trigger:
|
||||
gerrit:
|
||||
- event: patchset-created
|
||||
- event: change-restored
|
||||
- event: comment-added
|
||||
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck
|
||||
- event: comment-added
|
||||
require-approval:
|
||||
- Verified: [-1, -2]
|
||||
username: zuul
|
||||
approval:
|
||||
- Workflow: 1
|
||||
github:
|
||||
- event: pull_request
|
||||
action:
|
||||
- opened
|
||||
- changed
|
||||
- reopened
|
||||
- event: check_run
|
||||
- event: pull_request
|
||||
action: comment
|
||||
comment: (?i)^\s*recheck\s*$
|
||||
start:
|
||||
github:
|
||||
check: 'in_progress'
|
||||
comment: false
|
||||
success:
|
||||
gerrit:
|
||||
# Note that gerrit keywords are case-sensitive.
|
||||
Verified: 1
|
||||
github:
|
||||
check: 'success'
|
||||
comment: false
|
||||
mysql:
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -1
|
||||
github:
|
||||
check: 'failure'
|
||||
comment: false
|
||||
mysql:
|
||||
|
||||
- pipeline:
|
||||
name: gate
|
||||
description: |
|
||||
Changes that have been approved by core reviewers are enqueued
|
||||
in order in this pipeline, and if they pass tests, will be
|
||||
merged. For documentation on how gating with Zuul works, please see
|
||||
https://zuul-ci.org/docs/zuul/user/gating.html
|
||||
success-message: Build succeeded (gate pipeline).
|
||||
failure-message: |
|
||||
Build failed (gate pipeline). For information on how to proceed, see
|
||||
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing
|
||||
manager: dependent
|
||||
precedence: normal
|
||||
post-review: True
|
||||
require:
|
||||
gerrit:
|
||||
open: True
|
||||
current-patchset: True
|
||||
approval:
|
||||
- Verified: [1, 2]
|
||||
username: zuul
|
||||
- Workflow: 1
|
||||
trigger:
|
||||
gerrit:
|
||||
- event: comment-added
|
||||
approval:
|
||||
- Workflow: 1
|
||||
- event: comment-added
|
||||
approval:
|
||||
- Verified: 1
|
||||
username: zuul
|
||||
start:
|
||||
gerrit:
|
||||
Verified: 0
|
||||
success:
|
||||
gerrit:
|
||||
Verified: 2
|
||||
submit: true
|
||||
mysql:
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -2
|
||||
mysql:
|
||||
window-floor: 20
|
||||
window-increase-factor: 2
|
||||
|
||||
- pipeline:
|
||||
name: promote
|
||||
description: |
|
||||
This pipeline runs jobs that operate after each change is merged
|
||||
in order to promote artifacts generated in the gate
|
||||
pipeline.
|
||||
success-message: Build succeeded (promote pipeline).
|
||||
failure-message: |
|
||||
Build failed (promote pipeline). For information on how to proceed, see
|
||||
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing
|
||||
manager: supercedent
|
||||
precedence: high
|
||||
post-review: True
|
||||
trigger:
|
||||
gerrit:
|
||||
- event: change-merged
|
||||
success:
|
||||
gerrit: {}
|
||||
mysql:
|
||||
failure:
|
||||
gerrit: {}
|
||||
mysql:
|
||||
|
||||
- pipeline:
|
||||
name: release
|
||||
description: This pipeline runs in response to any tag event
|
||||
manager: independent
|
||||
precedence: high
|
||||
post-review: True
|
||||
trigger:
|
||||
gerrit:
|
||||
- event: ref-updated
|
||||
ref: ^refs/tags/.*$
|
||||
github:
|
||||
- event: push
|
||||
ref: ^refs/tags/.*$
|
||||
success:
|
||||
mysql:
|
||||
failure:
|
||||
mysql:
|
8
zuul.d/projects.yaml
Normal file
8
zuul.d/projects.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
- project:
|
||||
name: pypa/project-config
|
||||
check:
|
||||
jobs:
|
||||
- noop
|
||||
gate:
|
||||
jobs:
|
||||
- noop
|
Loading…
x
Reference in New Issue
Block a user