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