1 ####################################
2 # Job configuration for bottlenecks
3 ####################################
10 - 'bottlenecks-daily-{installer}-{pod}-{stream}'
12 # stream: branch with - in place of / (eg. stable-arno)
13 # branch: branch (eg. stable/arno)
17 installer_type: 'fuel'
18 installer_ip: '10.20.0.2'
27 project: 'bottlenecks'
29 ###############################
31 ##############################
33 name: 'bottlenecks-test'
37 echo "Hello world from bottlenecks"
41 name: 'bottlenecks-verify'
50 credentials-id: '{ssh-credentials}'
51 refspec: '$GERRIT_REFSPEC'
52 choosing-strategy: 'gerrit'
57 - patchset-created-event:
58 exclude-drafts: 'false'
59 exclude-trivial-rebase: 'false'
60 exclude-no-code-change: 'false'
61 - draft-published-event
62 - comment-added-contains-event:
63 comment-contains-value: 'recheck'
64 - comment-added-contains-event:
65 comment-contains-value: 'reverify'
67 - project-compare-type: 'ANT'
68 project-pattern: '{project}'
70 - branch-compare-type: 'ANT'
71 branch-pattern: '**/master'
78 name: 'bottlenecks-merge'
80 # builder-merge job to run JJB update
82 # This job's purpose is to update all the JJB
92 credentials-id: '{ssh-credentials}'
94 choosing-strategy: 'default'
100 - comment-added-contains-event:
101 comment-contains-value: 'remerge'
103 - project-compare-type: 'ANT'
104 project-pattern: 'bottlenecks'
106 - branch-compare-type: 'ANT'
107 branch-pattern: '**/master'
114 name: 'bottlenecks-daily-{installer}-{pod}-{stream}'
127 description: "POD where the job runs"
130 default: '{installer_type}'
131 description: "Installer name that is used for deployment."
134 default: '{installer_ip}'
135 description: "Installer IP."
139 credentials-id: '{ssh-credentials}'
144 - 'bottlenecks-trigger-{pod}'
147 - 'bottlenecks-fetch-os-creds'
148 - 'run-rubbos-env-preparation'
149 - 'run-rubbos-tools-installation'
154 recipients: hongbo.tianhongbo@huawei.com matthew.lijun@huawei.com
156 ###################################
157 #builders for bottlenecks project
158 ###################################
160 name: bottlenecks-fetch-os-creds
163 !include-raw ../../utils/fetch_os_creds.sh
166 name: run-rubbos-env-preparation
172 echo "Bottlenecks: export openstack parameters before rubbos running"
175 ./rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
178 name: run-rubbos-tools-installation
184 echo "Bottlenecks: to install tools to run rubbos"
187 ./rubbos/rubbos_scripts/1-1-1/scripts/run.sh
196 echo "Bottlenecks: rubbos execution"
199 cd ./rubbos/rubbos_scripts/1-1-1
200 source set_bottlenecks_rubbos_env.sh
202 ./tmp/CONTROL_rubbos_exec.sh
204 #######################
206 #######################
208 name: 'bottlenecks-trigger-lf'