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