Merge "Bottlenecks: rewrite all the request enabled jobs of the project"
[releng.git] / jjb / bottlenecks / bottlenecks-ci-jobs.yml
1 ####################################
2 # job configuration for bottlenecks
3 ####################################
4 - project:
5     name: bottlenecks-ci-jobs
6
7     project: 'bottlenecks'
8
9 #--------------------------------
10 # BRANCH ANCHORS
11 #--------------------------------
12     master: &master
13         stream: master
14         branch: '{stream}'
15         gs-pathname: ''
16     brahmaputra: &brahmaputra
17         stream: brahmaputra
18         branch: 'stable/{stream}'
19         gs-pathname: '{stream}'
20 #--------------------------------
21 # POD, INSTALLER, AND BRANCH MAPPING
22 #--------------------------------
23 #        brahmaputra
24 #--------------------------------
25     pod:
26         - opnfv-jump-2:
27             installer: fuel
28             <<: *brahmaputra
29         - intel-pod5:
30             installer: joid
31             <<: *brahmaputra
32         - huawei-us-deploy-bare-1:
33             installer: compass
34             <<: *brahmaputra
35 #--------------------------------
36 #        master
37 #--------------------------------
38         - ericsson-pod1:
39             installer: fuel
40             <<: *master
41         - ericsson-pod2:
42             installer: fuel
43             <<: *master
44         - intel-pod6:
45             installer: joid
46             <<: *master
47         - intel-pod8:
48             installer: compass
49             <<: *master
50         - zte-build-1:
51             installer: fuel
52             <<: *master
53         - orange-pod2:
54             installer: joid
55             <<: *master
56 #--------------------------------
57     suite:
58         - 'rubbos'
59         - 'vstf'
60
61     jobs:
62         - 'bottlenecks-{installer}-{suite}-{pod}-daily-{stream}'
63
64 ################################
65 # job templates
66 ################################
67 - job-template:
68     name: 'bottlenecks-{installer}-{suite}-{pod}-daily-{stream}'
69
70     disabled: false
71
72     wrappers:
73         - build-name:
74             name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
75
76     parameters:
77         - project-parameter:
78             project: '{project}'
79         - '{pod}-defaults'
80         - '{installer}-defaults'
81         - 'bottlenecks-params-{pod}'
82         - string:
83             name: GERRIT_REFSPEC_DEBUG
84             default: ''
85             description: "Gerrit refspec for debug."
86
87     scm:
88         - git-scm:
89             credentials-id: '{ssh-credentials}'
90             refspec: ''
91             branch: '{branch}'
92
93     builders:
94         - shell: |
95             echo "bottlenecks: this builder should be changed"
96         # TO DO, by now the CI job of Bottlenecks has been changed
97         #- 'bottlenecks-fetch-os-creds'
98         #- 'bottlenecks-run-{suite}'
99
100     publishers:
101         - email:
102             recipients: hongbo.tianhongbo@huawei.com matthew.lijun@huawei.com liangqi1@huawei.com sunshine.wang@huawei.com
103
104 ########################
105 # builder macros
106 ########################
107 #- builder:
108 #    name: bottlenecks-fetch-os-creds
109 #    builders:
110 #        - shell:
111 #            !include-raw ../../utils/fetch_os_creds.sh
112
113 #- builder:
114 #    name: bottlenecks-run-rubbos
115 #    builders:
116 #        - shell: |
117 #            #!/bin/bash
118 #            set -o errexit
119 #
120 #            echo "Bottlenecks: rubbos running now..."
121 #            cd $WORKSPACE
122 #            ./ci/run.sh $GERRIT_REFSPEC_DEBUG
123
124 #- builder:
125 #    name: bottlenecks-run-vstf
126 #    builders:
127 #        - shell: |
128 #            #!/bin/bash
129 #            set -o errexit
130
131 #            echo "Bottlenecks: vstf running now..."
132 #            cd $WORKSPACE
133 #            ./ci/vstf_run.sh $GERRIT_REFSPEC_DEBUG
134
135 ########################
136 # parameter macros
137 ########################
138 - parameter:
139     name: 'bottlenecks-params-intel-pod5'
140     parameters:
141         - string:
142             name: BOTTLENECKS_DB_TARGET
143             default: '213.77.62.197'
144             description: 'Arguments to use in order to choose the backend DB'
145
146 - parameter:
147     name: 'bottlenecks-params-intel-pod6'
148     parameters:
149         - string:
150             name: BOTTLENECKS_DB_TARGET
151             default: '213.77.62.197'
152             description: 'Arguments to use in order to choose the backend DB'
153
154 - parameter:
155     name: 'bottlenecks-params-intel-pod8'
156     parameters:
157         - string:
158             name: BOTTLENECKS_DB_TARGET
159             default: '213.77.62.197'
160             description: 'Arguments to use in order to choose the backend DB'
161
162 - parameter:
163     name: 'bottlenecks-params-ericsson-pod1'
164     parameters:
165         - string:
166             name: BOTTLENECKS_DB_TARGET
167             default: '213.77.62.197'
168             description: 'Arguments to use in order to choose the backend DB'
169
170 - parameter:
171     name: 'bottlenecks-params-ericsson-pod2'
172     parameters:
173         - string:
174             name: BOTTLENECKS_DB_TARGET
175             default: '213.77.62.197'
176             description: 'Arguments to use in order to choose the backend DB'
177
178 - parameter:
179     name: 'bottlenecks-params-opnfv-jump-2'
180     parameters:
181         - string:
182             name: BOTTLENECKS_DB_TARGET
183             default: '213.77.62.197'
184             description: 'Arguments to use in order to choose the backend DB'
185
186 - parameter:
187     name: 'bottlenecks-params-huawei-us-deploy-bare-1'
188     parameters:
189         - string:
190             name: BOTTLENECKS_DB_TARGET
191             default: '213.77.62.197'
192             description: 'Arguments to use in order to choose the backend DB'
193
194 - parameter:
195     name: 'bottlenecks-params-zte-build-1'
196     parameters:
197         - string:
198             name: BOTTLENECKS_DB_TARGET
199             default: '213.77.62.197'
200             description: 'Arguments to use in order to choose the backend DB'
201
202 - parameter:
203     name: 'bottlenecks-params-orange-pod2'
204     parameters:
205         - string:
206             name: BOTTLENECKS_DB_TARGET
207             default: '213.77.62.197'
208             description: 'Arguments to use in order to choose the backend DB'