Merge "Add timeout and timestamp for long duration tasks"
[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-pod4
30           <<: *master
31       - storage:
32           installer: apex
33           pod: zte-pod4
34           <<: *master
35       - compute:
36           installer: apex
37           pod: zte-pod4
38           <<: *euphrates
39       - storage:
40           installer: apex
41           pod: zte-pod4
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     scm:
78       - git-scm
79
80     wrappers:
81       - timeout:
82           elastic-percentage: 150
83           elastic-default-timeout: 30
84           abort: true
85           type: elastic
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 * * *'