An example project-config repo that can be used as a starting point.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

69 lines
2.5 KiB

includes:
#TODO: Rename this file. These functions are what enables single use nodes in nodepool.
- python-file: openstack_functions.py
pipelines:
- name: check
description: Newly uploaded patchsets enter this pipeline to receive an initial +/-1 Verified vote from Jenkins.
failure-message: "Build failed. To recheck use 'myvendor: recheck'. For 3rd party ci contact info: https://wiki.openstack.org/wiki/ThirdPartySystems"
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
- event: change-restored
# TODO: Change "myvendor" below to your vendor's name to add a custom
# recheck trigger that runs the check pipeline jobs when someone
# adds a comment to a review that says "myvendor: recheck".
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*myvendor:\s*recheck\s*$
success:
gerrit:
verified: 1
failure:
gerrit:
verified: -1
merge-failure:
smtp:
#TODO: Update these to real e-mail addresses
to: third_party_ci@example.com
from: zuul@example.com
subject: Upstream change {change} has a merge failure
- name: silent
description: Newly uploaded patchsets enter this pipeline to check jobs whose results are NOT to be posted (because e.g. they are not yet stable)
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
- event: change-restored
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*myvendor:\s*recheck\s*$
success:
smtp:
#TODO: Update these to real e-mail addresses
to: third_party_ci@example.com
from: zuul@example.com
subject: 'Silent check of {change.project} {change.number},{change.patchset} passed'
failure:
smtp:
#TODO: Update these to real e-mail addresses
to: third_party_ci@example.com
from: zuul@example.com
subject: 'Silent check of {change.project} {change.number},{change.patchset} failed'
jobs:
- name: ^dsvm-tempest.*$
parameter-function: single_use_node
projects:
- name: openstack-dev/ci-sandbox
check:
# Remove this after successfully verifying communication with upstream
# and seeing a posted successful review.
- noop-check-communication
silent:
# Uncomment this job when you have a jenkins slave running and want to
# test a full Tempest run within devstack.
- dsvm-tempest-full