Merge "Move Apex Verify Jobs to apex-verify-jobs file"
[releng.git] / jjb / qtip / qtip-validate-jobs.yml
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     euphrates: &euphrates
18       stream: euphrates
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           <<: *master
31       - storage:
32           installer: apex
33           pod: zte-virtual5
34           <<: *master
35       - compute:
36           installer: apex
37           pod: zte-virtual5
38           <<: *euphrates
39       - storage:
40           installer: apex
41           pod: zte-virtual5
42           <<: *euphrates
43       - compute:
44           installer: fuel
45           pod: zte-virtual6
46           <<: *master
47
48     # -------------------------------
49     # JOB LIST
50     # -------------------------------
51     jobs:
52       - 'qtip-{qpi}-{installer}-{stream}'
53
54 ################################
55 # job templates
56 ################################
57 - job-template:
58     name: 'qtip-{qpi}-{installer}-{stream}'
59     disabled: false
60
61     parameters:
62       - project-parameter:
63           project: '{project}'
64           branch: '{branch}'
65       - '{installer}-defaults'
66       - '{pod}-defaults'
67       - string:
68           name: DEPLOY_SCENARIO
69           default: generic
70       - string:
71           name: DOCKER_TAG
72           default: '{docker-tag}'
73           description: 'Tag to pull docker image'
74       - string:
75           name: CI_DEBUG
76           default: 'false'
77           description: "Show debug output information"
78       - string:
79           name: TEST_SUITE
80           default: '{qpi}'
81       - string:
82           name: TESTAPI_URL
83           default: 'http://testresults.opnfv.org/test/api/v1'
84       - string:
85           name: OPNFV_RELEASE
86           default: '{stream}'
87     scm:
88       - git-scm
89
90     wrappers:
91       - timeout:
92           timeout: 15
93           abort: true
94       - timestamps
95
96     triggers:
97       - 'qtip-daily'
98
99     builders:
100       - description-setter:
101           description: "POD: $NODE_NAME"
102       - shell: |
103           #!/bin/bash
104           source tests/ci/periodic.sh
105
106     publishers:
107       - qtip-common-publishers
108       - email-jenkins-admins-on-failure
109
110 ################
111 # MARCOS
112 ################
113
114 # --------
115 # builder
116 # --------
117
118 # ----------
119 # parameter
120 # ----------
121
122 # ----------
123 # publisher
124 # ----------
125
126 - publisher:
127     name: qtip-common-publishers
128     publishers:
129       - email:
130           recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
131
132 # --------
133 # trigger
134 # --------
135
136 - trigger:
137     name: 'qtip-daily'
138     triggers:
139       - timed: '0 15 * * *'