Use computes + control for NUM_OS_SYSTEM
[releng.git] / jjb / qtip / qtip-validate-jobs.yaml
1 ---
2 #######################
3 # validate after MERGE
4 #######################
5 - project:
6     name: qtip
7     project: qtip
8
9     # -------------------------------
10     # BRANCH ANCHORS
11     # -------------------------------
12     master: &master
13       stream: master
14       branch: '{stream}'
15       gs-pathname: ''
16       docker-tag: latest
17     fraser: &fraser
18       stream: fraser
19       branch: 'stable/{stream}'
20       gs-pathname: '{stream}'
21       docker-tag: 'stable'
22
23     # -------------------------------
24     # JOB VARIABLES
25     # -------------------------------
26     qpi:
27       - compute:
28           installer: apex
29           pod: zte-virtual5
30           sut: node
31           <<: *master
32       - storage:
33           installer: apex
34           pod: zte-virtual5
35           sut: ''
36           <<: *master
37       - network:
38           installer: apex
39           pod: zte-virtual5
40           sut: ''
41           <<: *master
42       - compute:
43           installer: fuel
44           pod: zte-virtual6
45           sut: vnf
46           <<: *master
47       - compute:
48           installer: apex
49           pod: zte-virtual5
50           sut: node
51           <<: *fraser
52       - storage:
53           installer: apex
54           pod: zte-virtual5
55           sut: ''
56           <<: *fraser
57       - compute:
58           installer: fuel
59           pod: zte-virtual6
60           sut: vnf
61           <<: *fraser
62
63
64     # -------------------------------
65     # JOB LIST
66     # -------------------------------
67     jobs:
68       - 'qtip-{qpi}-{installer}-{pod}-{stream}'
69
70 ################################
71 # job templates
72 ################################
73 - job-template:
74     name: 'qtip-{qpi}-{installer}-{pod}-{stream}'
75     disabled: false
76
77     parameters:
78       - project-parameter:
79           project: '{project}'
80           branch: '{branch}'
81       - '{installer}-defaults'
82       - '{pod}-defaults'
83       - string:
84           name: DEPLOY_SCENARIO
85           default: generic
86       - string:
87           name: DOCKER_TAG
88           default: '{docker-tag}'
89           description: 'Tag to pull docker image'
90       - string:
91           name: CI_DEBUG
92           default: 'false'
93           description: "Show debug output information"
94       - string:
95           name: TEST_SUITE
96           default: '{qpi}'
97       - string:
98           name: TESTAPI_URL
99           default: 'http://testresults.opnfv.org/test/api/v1'
100       - string:
101           name: OPNFV_RELEASE
102           default: '{stream}'
103       - string:
104           name: SUT
105           description: "System Under Test"
106           default: '{sut}'
107     scm:
108       - git-scm
109
110     wrappers:
111       - timeout:
112           timeout: 120
113           abort: true
114       - timestamps
115
116     triggers:
117       - 'qtip-daily'
118
119     builders:
120       - description-setter:
121           description: "POD: $NODE_NAME"
122       - shell: |
123           #!/bin/bash
124           source tests/ci/periodic.sh
125
126     publishers:
127       - qtip-common-publishers
128       - email-jenkins-admins-on-failure
129
130 ################
131 # MARCOS
132 ################
133
134 # --------
135 # builder
136 # --------
137
138 # ----------
139 # parameter
140 # ----------
141
142 # ----------
143 # publisher
144 # ----------
145
146 - publisher:
147     name: qtip-common-publishers
148     publishers:
149       - email:
150           recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
151
152 # --------
153 # trigger
154 # --------
155
156 - trigger:
157     name: 'qtip-daily'
158     triggers:
159       - timed: '0 15 * * *'