Merge "[QTIP]Change QTIP danube daily jobs to weekly jobs"
[releng.git] / jjb / qtip / qtip-validate-jobs.yml
1 #######################
2 # validate after MERGE
3 #######################
4 - project:
5     name: qtip
6     project: qtip
7
8 #--------------------------------
9 # BRANCH ANCHORS
10 #--------------------------------
11     master: &master
12         stream: master
13         branch: '{stream}'
14         gs-pathname: ''
15         docker-tag: latest
16
17 #--------------------------------
18 # JOB VARIABLES
19 #--------------------------------
20     pod:
21         - zte-pod1:
22             installer: fuel
23             scenario: os-odl_l2-nofeature-ha
24             <<: *master
25         - zte-pod3:
26             installer: fuel
27             scenario: os-nosdn-kvm-ha
28             <<: *master
29
30 #--------------------------------
31 # JOB LIST
32 #--------------------------------
33     jobs:
34         - 'qtip-{scenario}-{pod}-daily-{stream}'
35
36 ################################
37 # job templates
38 ################################
39 - job-template:
40     name: 'qtip-{scenario}-{pod}-daily-{stream}'
41     disabled: false
42     parameters:
43         - project-parameter:
44             project: '{project}'
45             branch: '{branch}'
46         - '{installer}-defaults'
47         - '{pod}-defaults'
48         - string:
49             name: DEPLOY_SCENARIO
50             default: '{scenario}'
51         - string:
52             name: DOCKER_TAG
53             default: '{docker-tag}'
54             description: 'Tag to pull docker image'
55         - string:
56             name: CI_DEBUG
57             default: 'false'
58             description: "Show debug output information"
59     scm:
60         - git-scm
61     triggers:
62         - 'qtip-{scenario}-{pod}-daily-{stream}-trigger'
63     builders:
64         - description-setter:
65             description: "POD: $NODE_NAME"
66         - qtip-validate-deploy
67     publishers:
68         - qtip-common-publishers
69
70 ################
71 # MARCOS
72 ################
73
74 #---------
75 # builder
76 #---------
77 - builder:
78     name: qtip-validate-deploy
79     builders:
80         - shell:
81             !include-raw: ./helpers/cleanup-deploy.sh
82         - shell:
83             !include-raw: ./helpers/validate-deploy.sh
84
85
86 #-----------
87 # parameter
88 #-----------
89
90 #-----------
91 # publisher
92 #-----------
93
94 - publisher:
95     name: qtip-common-publishers
96     publishers:
97         - email:
98             recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
99
100 #---------
101 # trigger
102 #---------
103
104 - trigger:
105     name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-daily-master-trigger'
106     triggers:
107         - timed: '0 15 * * *'
108
109 - trigger:
110     name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-master-trigger'
111     triggers:
112         - timed: '0 15 * * *'