Skip to content

Commit 01630f2

Browse files
committed
Example version routing info
1 parent c41a49c commit 01630f2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

product.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
11
bug_mapping:
22
default_issue_project: OCPBUGS
3+
4+
labels:
5+
sustaining:
6+
name: Sustaining Engineering
7+
8+
# Version overrides will be processed in order.
9+
# The first override to match will set attributes for the Jira
10+
# about to be opened.
11+
version_overrides:
12+
- match:
13+
include:
14+
# CEL - common expression language allows matching criteria to be expressed succinctly.
15+
- 'issue.product == "OCPBUGS" && issue.affects_version.major == 4 && issue.affects_version.minor <= 12'
16+
exclude:
17+
# A matching exclude overrides any matching include.
18+
- 'issue.component == "descheduler"'
19+
set:
20+
labels:
21+
- sustaining
22+
# A CEL expression can formulate the assignee as well.
23+
assignee: 'has(issue.vars) && has(issue.vars.sustaining_owner) ? issue.vars.sustaining_owner : "[email protected]"'
24+
325
components:
426
ansible-asb-modules:
527
issue_component: Service Broker
28+
vars:
29+
# Assign an individual to a specific component (see issue.vars.sustaining_owner in CEL).
30+
sustaining_owner: [email protected]
631
ansible-kubernetes-modules:
732
issue_component: Installer / openshift-ansible
833
ansible-runner:

0 commit comments

Comments
 (0)