dcedc68e3984ec9e064630f403d1f803b04993fa
[ci-management.git] / jjb / csit / csit-vpp-functional.yaml
1 - project:
2     name: csit-vpp-functional
3     description: 'Run VPP functional tests on VIRL.'
4
5     jobs:
6         - 'csit-vpp-functional-hw-tb2'
7         - 'csit-vpp-functional-virl'
8         - 'csit-vpp-functional-nodepool'
9         - 'csit-vpp-master-verify-weekly'
10
11     project: 'csit'
12     branch: 'master'
13
14
15 - job-template:
16     name: 'csit-vpp-functional-virl'
17
18     project-type: freestyle
19     node: verify
20     concurrent: true
21
22     logrotate:
23         daysToKeep: '{build-days-to-keep}'
24         numToKeep: '{build-num-to-keep}'
25         artifactDaysToKeep: '{build-artifact-days-to-keep}'
26         artifactNumToKeep: '{build-artifact-num-to-keep}'
27
28     parameters:
29         - project-parameter:
30             project: '{project}'
31         - gerrit-parameter:
32             branch: '{branch}'
33
34     scm:
35         - gerrit-trigger-scm:
36             credentials-id: '{ssh-credentials}'
37             refspec: '$GERRIT_REFSPEC'
38             choosing-strategy: 'gerrit'
39
40     wrappers:
41         - ssh-agent-credentials:
42             users:
43                 - '{ssh-credentials}'
44
45     triggers:
46         - gerrit-trigger-patch-submitted:
47             name: '{project}'
48             branch: '{branch}'
49
50     builders:
51         - shell:
52             !include-raw-escape include-raw-csit-vpp-functional-virl.sh
53
54     publishers:
55         - archive-artifacts:
56             artifacts: 'report.html, log.html, output.xml'
57             latest-only: false
58
59         - robot-report
60
61 - job-template:
62     name: 'csit-vpp-functional-hw-tb2'
63
64     project-type: freestyle
65     node: verify
66     concurrent: false
67
68     logrotate:
69         daysToKeep: '{build-days-to-keep}'
70         numToKeep: '{build-num-to-keep}'
71         artifactDaysToKeep: '{build-artifact-days-to-keep}'
72         artifactNumToKeep: '{build-artifact-num-to-keep}'
73
74     parameters:
75         - project-parameter:
76             project: '{project}'
77         - gerrit-parameter:
78             branch: '{branch}'
79
80     scm:
81         - gerrit-trigger-scm:
82             credentials-id: '{ssh-credentials}'
83             refspec: '$GERRIT_REFSPEC'
84             choosing-strategy: 'gerrit'
85
86     wrappers:
87         - ssh-agent-credentials:
88             users:
89                 - '{ssh-credentials}'
90
91     triggers:
92         - gerrit-trigger-manually-triggered:
93             name: '{project}'
94             branch: '{branch}'
95             comment-trigger-value: 'hw-perf-check'
96
97     builders:
98         - shell:
99             !include-raw-escape jjb/csit/include-raw-csit-vpp-functional-hw-tb2.sh
100
101     publishers:
102         - archive-artifacts:
103             artifacts: 'report.html, log.html, output.xml'
104             latest-only: false
105
106         - robot-report
107
108 - job-template:
109     name: 'csit-vpp-functional-nodepool'
110
111     project-type: freestyle
112     node: multilink
113     concurrent: true
114
115     logrotate:
116         daysToKeep: '{build-days-to-keep}'
117         numToKeep: '{build-num-to-keep}'
118         artifactDaysToKeep: '{build-artifact-days-to-keep}'
119         artifactNumToKeep: '{build-artifact-num-to-keep}'
120
121     scm:
122         - zuul-trigger-scm:
123             credentials-id: '{ssh-credentials}'
124             refspec: '$ZUUL_REF'
125             commit: '$ZUUL_COMMIT'
126
127     wrappers:
128         - ssh-agent-credentials:
129             users:
130                 - '{ssh-credentials}'
131
132     builders:
133         - shell:
134             !include-raw-escape: include-raw-csit-vpp-functional-multilink.sh
135
136     publishers:
137         - archive-artifacts:
138             artifacts: 'report.html, log.html, output.xml'
139             latest-only: false
140
141         - robot-report
142
143 - job-template:
144     name: 'csit-vpp-master-verify-weekly'
145
146     project-type: freestyle
147     node: verify
148     concurrent: false
149
150     logrotate:
151         daysToKeep: '{build-days-to-keep}'
152         numToKeep: '{build-num-to-keep}'
153         artifactDaysToKeep: '{build-artifact-days-to-keep}'
154         artifactNumToKeep: '{build-artifact-num-to-keep}'
155
156     parameters:
157         - project-parameter:
158             project: '{project}'
159         - gerrit-parameter:
160             branch: '{branch}'
161
162     scm:
163         - git-scm:
164             credentials-id: '{ssh-credentials}'
165             branch: 'master'
166
167     wrappers:
168         - ssh-agent-credentials:
169             users:
170                 - '{ssh-credentials}'
171
172     triggers:
173         - timed: 'H H * * 0'
174
175     builders:
176         - shell:
177             !include-raw-escape jjb/csit/include-raw-csit-vpp-verify-master.sh
178
179     publishers:
180         - git:
181                push-only-if-success: true
182                branches:
183                    - branch:
184                        name: "master-verified"