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'
38 artifactDaysToKeep: -1
43 echo "Hello world from bottlenecks"
47 name: 'bottlenecks-verify'
52 artifactDaysToKeep: -1
62 credentials-id: '{ssh-credentials}'
63 refspec: '$GERRIT_REFSPEC'
64 choosing-strategy: 'gerrit'
69 - patchset-created-event:
70 exclude-drafts: 'false'
71 exclude-trivial-rebase: 'false'
72 exclude-no-code-change: 'false'
73 - draft-published-event
74 - comment-added-contains-event:
75 comment-contains-value: 'recheck'
76 - comment-added-contains-event:
77 comment-contains-value: 'reverify'
79 - project-compare-type: 'ANT'
80 project-pattern: '{project}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/master'
90 name: 'bottlenecks-merge'
92 # builder-merge job to run JJB update
94 # This job's purpose is to update all the JJB
99 artifactDaysToKeep: -1
109 - gerrit-trigger-scm:
110 credentials-id: '{ssh-credentials}'
112 choosing-strategy: 'default'
117 - change-merged-event
118 - comment-added-contains-event:
119 comment-contains-value: 'remerge'
121 - project-compare-type: 'ANT'
122 project-pattern: 'bottlenecks'
124 - branch-compare-type: 'ANT'
125 branch-pattern: '**/master'
132 name: 'bottlenecks-daily-{installer}-{pod}-{stream}'
145 description: "POD where the job runs"
148 default: '{installer_type}'
149 description: "Installer name that is used for deployment."
152 default: '{installer_ip}'
153 description: "Installer IP."
157 credentials-id: '{ssh-credentials}'
164 artifactDaysToKeep: -1
165 artifactNumToKeep: -1
168 - 'bottlenecks-trigger-{pod}'
171 - 'bottlenecks-fetch-os-creds'
172 - 'run-rubbos-env-preparation'
173 - 'run-rubbos-tools-installation'
178 recipients: hongbo.tianhongbo@huawei.com matthew.lijun@huawei.com
180 ###################################
181 #builders for bottlenecks project
182 ###################################
184 name: bottlenecks-fetch-os-creds
187 !include-raw ../../utils/fetch_os_creds.sh
190 name: run-rubbos-env-preparation
196 echo "Bottlenecks: export openstack parameters before rubbos running"
199 ./rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
202 name: run-rubbos-tools-installation
208 echo "Bottlenecks: to install tools to run rubbos"
211 ./rubbos/rubbos_scripts/1-1-1/scripts/run.sh
220 echo "Bottlenecks: rubbos execution"
223 cd ./rubbos/rubbos_scripts/1-1-1
224 source set_bottlenecks_rubbos_env.sh
226 ./tmp/CONTROL_rubbos_exec.sh
228 #######################
230 #######################
232 name: 'bottlenecks-trigger-lf'