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