Merge "Chore: Turn on SBOM for OOM"
[ci-management.git] / jjb / policy / policy-csit-jobs.yaml
1 - job-template:
2     name: '{project-name}-{stream}-project-csit-{functionality}'
3     disabled: '{disabled}'
4     project-type: freestyle
5     build-node: 'ubuntu1804-docker-8c-8g'
6     node: '{build-node}'
7     recipients: ''
8     java-version: 'openjdk11'
9     python-version: python3
10
11     properties:
12       - lf-infra-properties:
13           project: '{project}'
14           build-days-to-keep: '{build-days-to-keep}'
15
16     parameters:
17       - infra-parameters:
18           project: '{project}'
19           branch: '{branch}'
20           refspec: 'refs/heads/{branch}'
21           artifacts: '{archive-artifacts}'
22       - integration-test-options:
23           test-options: '{functionality}'
24
25     scm:
26       - gerrit-trigger-scm:
27           refspec: '$GERRIT_REFSPEC'
28           choosing-strategy: 'default'
29           submodule-recursive: '{submodule-recursive}'
30
31     wrappers:
32       - lf-infra-wrappers:
33           build-timeout: '{build-timeout}'
34           jenkins-ssh-credential: '{jenkins-ssh-credential}'
35
36     triggers:
37       - timed: '@daily'
38       - reverse:
39           jobs: '{obj:trigger_jobs}'
40
41     builders:
42       - lf-infra-pre-build
43       - lf-update-java-alternatives:
44           java-version: '{java-version}'
45       - integration-run-project-test
46
47     publishers:
48       - integration-project-robot:
49           unstable-if: 0.0
50           pass-if: 100.0
51       - lf-infra-publish
52       - email:
53           recipients: '{recipients}'
54           notify-every-unstable-build: false
55           send-to-individuals: true
56
57 - job-template:
58     name: '{project-name}-{stream}-project-csit-verify-{functionality}'
59     disabled: '{disabled}'
60
61     project-type: freestyle
62     build-node: 'ubuntu1804-docker-8c-8g'
63     node: '{build-node}'
64     recipients: ''
65     java-version: 'openjdk11'
66     python-version: python3
67
68     properties:
69       - lf-infra-properties:
70           project: '{project}'
71           build-days-to-keep: '{build-days-to-keep}'
72
73     parameters:
74       - infra-parameters:
75           project: '{project}'
76           branch: '{branch}'
77           refspec: 'refs/heads/{branch}'
78           artifacts: '{archive-artifacts}'
79       - integration-test-options:
80           test-options: '{functionality}'
81
82     scm:
83       - gerrit-trigger-scm:
84           refspec: '$GERRIT_REFSPEC'
85           choosing-strategy: 'gerrit'
86           submodule-recursive: '{submodule-recursive}'
87
88     wrappers:
89       - lf-infra-wrappers:
90           build-timeout: '{build-timeout}'
91           jenkins-ssh-credential: '{jenkins-ssh-credential}'
92
93     triggers:
94       - gerrit-trigger-patch-submitted:
95           server: '{server-name}'
96           project: '{project}'
97           branch: '{branch}'
98           files: '**/csit/**'
99
100     builders:
101       - lf-infra-pre-build
102       - lf-update-java-alternatives:
103           java-version: '{java-version}'
104       - integration-run-project-test
105
106     publishers:
107       - integration-project-robot:
108           unstable-if: 0.0
109           pass-if: 100.0
110       - lf-infra-publish
111       - email:
112           recipients: '{recipients}'
113           notify-every-unstable-build: false
114           send-to-individuals: true
115
116 - job-template:
117       name: '{project-name}-{stream}-project-k8s-csit-{functionality}'
118       disabled: '{disabled}'
119       project-type: freestyle
120       build-node: 'ubuntu1804-docker-8c-8g'
121       node: '{build-node}'
122       recipients: ''
123       java-version: 'openjdk11'
124       python-version: python3
125
126       properties:
127           - lf-infra-properties:
128                 project: '{project}'
129                 build-days-to-keep: '{build-days-to-keep}'
130
131       parameters:
132           - infra-parameters:
133                 project: '{project}'
134                 branch: '{branch}'
135                 refspec: 'refs/heads/{branch}'
136                 artifacts: '{archive-artifacts}'
137           - integration-test-options:
138                 test-options: '{functionality}'
139
140       scm:
141           - gerrit-trigger-scm:
142                 refspec: '$GERRIT_REFSPEC'
143                 choosing-strategy: 'default'
144                 submodule-recursive: '{submodule-recursive}'
145
146       wrappers:
147           - lf-infra-wrappers:
148                 build-timeout: '{build-timeout}'
149                 jenkins-ssh-credential: '{jenkins-ssh-credential}'
150
151       triggers:
152           - timed: '@daily'
153           - reverse:
154                 jobs: '{obj:trigger_jobs}'
155
156       builders:
157           - lf-infra-pre-build
158           - lf-update-java-alternatives:
159                 java-version: '{java-version}'
160           - integration-run-project-k8s-test
161
162       publishers:
163           - integration-project-robot:
164                 unstable-if: 0.0
165                 pass-if: 100.0
166           - lf-infra-publish
167           - email:
168                 recipients: '{recipients}'
169                 notify-every-unstable-build: false
170                 send-to-individuals: true
171
172
173 - job-template:
174       name: '{project-name}-{stream}-project-k8s-csit-verify-{functionality}'
175       disabled: '{disabled}'
176
177       project-type: freestyle
178       build-node: 'ubuntu1804-docker-8c-8g'
179       node: '{build-node}'
180       recipients: ''
181       java-version: 'openjdk11'
182       python-version: python3
183
184       properties:
185           - lf-infra-properties:
186                 project: '{project}'
187                 build-days-to-keep: '{build-days-to-keep}'
188
189       parameters:
190           - infra-parameters:
191                 project: '{project}'
192                 branch: '{branch}'
193                 refspec: 'refs/heads/{branch}'
194                 artifacts: '{archive-artifacts}'
195           - integration-test-options:
196                 test-options: '{functionality}'
197
198       scm:
199           - gerrit-trigger-scm:
200                 refspec: '$GERRIT_REFSPEC'
201                 choosing-strategy: 'gerrit'
202                 submodule-recursive: '{submodule-recursive}'
203
204       wrappers:
205           - lf-infra-wrappers:
206                 build-timeout: '{build-timeout}'
207                 jenkins-ssh-credential: '{jenkins-ssh-credential}'
208
209       triggers:
210           - gerrit-trigger-patch-submitted:
211                 server: '{server-name}'
212                 project: '{project}'
213                 branch: '{branch}'
214                 files: '**/csit/**'
215
216       builders:
217           - lf-infra-pre-build
218           - lf-update-java-alternatives:
219                 java-version: '{java-version}'
220           - integration-run-project-k8s-test
221
222       publishers:
223           - integration-project-robot:
224                 unstable-if: 0.0
225                 pass-if: 100.0
226           - lf-infra-publish
227           - email:
228                 recipients: '{recipients}'
229                 notify-every-unstable-build: false
230                 send-to-individuals: true