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