Merge "bottlenecks: rewrite bottlenecks jobs into parent/son for supporting of differ...
[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         - 'bottlenecks-fetch-os-creds'
95         - 'bottlenecks-run-{suite}'
96
97     publishers:
98         - email:
99             recipients: hongbo.tianhongbo@huawei.com matthew.lijun@huawei.com liangqi1@huawei.com liyiting@huawei.com
100
101 ########################
102 # builder macros
103 ########################
104 #- builder:
105 #    name: bottlenecks-fetch-os-creds
106 #    builders:
107 #        - shell:
108 #            !include-raw ../../utils/fetch_os_creds.sh
109
110 #- builder:
111 #    name: bottlenecks-run-rubbos
112 #    builders:
113 #        - shell: |
114 #            #!/bin/bash
115 #            set -o errexit
116 #
117 #            echo "Bottlenecks: rubbos running now..."
118 #            cd $WORKSPACE
119 #            ./ci/run.sh $GERRIT_REFSPEC_DEBUG
120
121 #- builder:
122 #    name: bottlenecks-run-vstf
123 #    builders:
124 #        - shell: |
125 #            #!/bin/bash
126 #            set -o errexit
127
128 #            echo "Bottlenecks: vstf running now..."
129 #            cd $WORKSPACE
130 #            ./ci/vstf_run.sh $GERRIT_REFSPEC_DEBUG
131
132 ########################
133 # parameter macros
134 ########################
135 - parameter:
136     name: 'bottlenecks-params-intel-pod5'
137     parameters:
138         - string:
139             name: BOTTLENECKS_DB_TARGET
140             default: '213.77.62.197'
141             description: 'Arguments to use in order to choose the backend DB'
142
143 - parameter:
144     name: 'bottlenecks-params-intel-pod6'
145     parameters:
146         - string:
147             name: BOTTLENECKS_DB_TARGET
148             default: '213.77.62.197'
149             description: 'Arguments to use in order to choose the backend DB'
150
151 - parameter:
152     name: 'bottlenecks-params-intel-pod8'
153     parameters:
154         - string:
155             name: BOTTLENECKS_DB_TARGET
156             default: '213.77.62.197'
157             description: 'Arguments to use in order to choose the backend DB'
158
159 - parameter:
160     name: 'bottlenecks-params-ericsson-pod1'
161     parameters:
162         - string:
163             name: BOTTLENECKS_DB_TARGET
164             default: '213.77.62.197'
165             description: 'Arguments to use in order to choose the backend DB'
166
167 - parameter:
168     name: 'bottlenecks-params-ericsson-pod2'
169     parameters:
170         - string:
171             name: BOTTLENECKS_DB_TARGET
172             default: '213.77.62.197'
173             description: 'Arguments to use in order to choose the backend DB'
174
175 - parameter:
176     name: 'bottlenecks-params-opnfv-jump-2'
177     parameters:
178         - string:
179             name: BOTTLENECKS_DB_TARGET
180             default: '213.77.62.197'
181             description: 'Arguments to use in order to choose the backend DB'
182
183 - parameter:
184     name: 'bottlenecks-params-huawei-us-deploy-bare-1'
185     parameters:
186         - string:
187             name: BOTTLENECKS_DB_TARGET
188             default: '213.77.62.197'
189             description: 'Arguments to use in order to choose the backend DB'
190
191 - parameter:
192     name: 'bottlenecks-params-zte-build-1'
193     parameters:
194         - string:
195             name: BOTTLENECKS_DB_TARGET
196             default: '213.77.62.197'
197             description: 'Arguments to use in order to choose the backend DB'
198
199 - parameter:
200     name: 'bottlenecks-params-orange-pod2'
201     parameters:
202         - string:
203             name: BOTTLENECKS_DB_TARGET
204             default: '213.77.62.197'
205             description: 'Arguments to use in order to choose the backend DB'