summaryrefslogtreecommitdiffstats
path: root/zuul/layout.yaml
blob: fccd68f37cc9d2a399462d3edef2bbaa3b57dfd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
##############################################################################
### Pipelines
##############################################################################

pipelines:
  - name: check
    source: gerrit
    manager: IndependentPipelineManager
    trigger:
      gerrit:
        - event: patchset-created
        - event: draft-published
        - event: comment-added
          comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
    success:
      gerrit:
        verified: 1
    failure:
      gerrit:
        verified: -1
  - name: check-novote
    source: gerrit
    manager: IndependentPipelineManager
    trigger:
      gerrit:
        - event: patchset-created
        - event: draft-published
        - event: comment-added
          comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
    success:
      gerrit: {}
    failure:
      gerrit: {}
  # - name: gate
  #   source: gerrit
  #   manager: DependentPipelineManager
  #   trigger:
  #     gerrit:
  #       - event: comment-added
  #         approval:
  #           - approved: 1
  #   success:
  #     gerrit:
  #       verified: 1
  #   failure:
  #     gerrit:
  #       verified: -1
  - name: periodic-daily
    source: gerrit
    manager: IndependentPipelineManager
    precedence: low
    trigger:
      timer:
        - time: '0 0 * * *'
  - name: periodic-weekly
    source: gerrit
    manager: IndependentPipelineManager
    precedence: low
    trigger:
      timer:
        - time: '0 0 * * 0'
  - name: post-merge
    source: gerrit
    manager: IndependentPipelineManager
    success-message: Build succeeded (check merge)
    failure-message: Build failed (check merge)
    trigger:
      gerrit:
        - event: change-merged
        - event: comment-added
          comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(remerge)
    success:
      gerrit: {}
    failure:
      gerrit: {}
  - name: csit-manual-perf
    source: gerrit
    manager: IndependentPipelineManager
    trigger:
      gerrit:
        - event: comment-added
          comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(hw-perf-check)
    success:
      gerrit:
        verified: 1
    failure:
      gerrit:
        verified: -1

##############################################################################
### Project Templates
##############################################################################

project-templates:
  - name: default-jobs
    check:
      - '{name}-verify'
    post-merge:
      - '{name}-merge'

##############################################################################
### Projects
##############################################################################

projects:
  - name: ci-management
    check:
      - ci-management-verify-jjb
      - ci-management-verify-zuul
      - ci-management-verify-nodepool
    post-merge:
      - ci-management-merge-jjb
      - ci-management-merge-zuul
      - ci-management-merge-nodepool

#  - name: csit
#    csit-manual-perf:
#      - csit-vpp-functional-hw-tb2
#    check:
#      - csit-vpp-functional-virl
#      - csit-vpp-functional-nodepool

#  - name: honeycomb
#    template:
#      - name: default-jobs

#  - name: vpp
#    check-novote:
#      - vpp-csit-verify-virl