10 installer_ip: '10.20.0.2'
13 installer_type: 'fuel'
14 installer_ip: '10.20.0.2'
20 - 'yardstick-{installer}-{pod}-{stream}'
24 # stream: branch with - in place of / (eg. stable-helium)
25 # branch: branch (eg. stable/helium)
31 name: 'yardstick-verify'
33 project-type: freestyle
40 artifactDaysToKeep: -1
50 default: https://gerrit.opnfv.org/gerrit/$PROJECT
51 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
55 credentials-id: '{ssh-credentials}'
56 refspec: '$GERRIT_REFSPEC'
57 choosing-strategy: 'gerrit'
62 - patchset-created-event:
63 exclude-drafts: 'false'
64 exclude-trivial-rebase: 'false'
65 exclude-no-code-change: 'false'
66 - draft-published-event
67 - comment-added-contains-event:
68 comment-contains-value: 'recheck'
69 - comment-added-contains-event:
70 comment-contains-value: 'reverify'
72 - project-compare-type: 'ANT'
73 project-pattern: 'yardstick'
75 - branch-compare-type: 'ANT'
76 branch-pattern: '**/master'
84 echo "Running unit tests..."
86 virtualenv $WORKSPACE/yardstick_venv
87 source $WORKSPACE/yardstick_venv/bin/activate
88 easy_install -U setuptools
89 python setup.py develop
94 name: 'yardstick-merge'
96 # builder-merge job to run JJB update
98 # This job's purpose is to update all the JJB
100 project-type: freestyle
107 artifactDaysToKeep: -1
117 default: https://gerrit.opnfv.org/gerrit/$PROJECT
118 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
121 - gerrit-trigger-scm:
122 credentials-id: '{ssh-credentials}'
124 choosing-strategy: 'default'
129 - change-merged-event
130 - comment-added-contains-event:
131 comment-contains-value: 'remerge'
133 - project-compare-type: 'ANT'
134 project-pattern: 'yardstick'
136 - branch-compare-type: 'ANT'
137 branch-pattern: '**/master'
145 echo "Running unit tests..."
147 virtualenv $WORKSPACE/yardstick_venv
148 source $WORKSPACE/yardstick_venv/bin/activate
149 easy_install -U setuptools
150 python setup.py develop
155 name: 'yardstick-{installer}-{pod}-{stream}'
157 project-type: freestyle
170 description: "POD where the job runs"
173 default: '{installer_type}'
174 description: "Installer name that is used for deployment."
177 default: '{installer_ip}'
178 description: "Installer IP."
182 credentials-id: '{ssh-credentials}'
189 artifactDaysToKeep: -1
190 artifactNumToKeep: -1
193 - 'yardstick-trigger-{pod}'
196 - 'yardstick-fetch-os-creds'
201 recipients: ana.cunha@ericsson.com jorgen.w.karlsson@ericsson.com
203 ########################
205 ########################
207 name: yardstick-daily
213 echo "Yardstick: Run benchmark test suites ..."
215 # Remove old containers
216 docker ps | grep opnfv/yardstick-ci |\
217 awk '{print $1}' | xargs -r docker stop &>/dev/null
218 docker ps -a | grep opnfv/yardstick-ci |\
219 awk '{print $1}' | xargs -r docker rm &>/dev/null
221 # Make sure we have latest image
222 docker pull opnfv/yardstick-ci
228 -e "INSTALLER_TYPE=${INSTALLER_TYPE}" \
229 -e "INSTALLER_IP=${INSTALLER_IP}" \
233 echo "Yardstick: done!"
236 name: yardstick-fetch-os-creds
239 !include-raw ../../utils/fetch_os_creds.sh
241 ########################
243 ########################
245 name: 'ericsson-parameters'
249 default: https://gerrit.opnfv.org/gerrit/$PROJECT
250 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
253 name: 'lf-parameters'
257 default: ssh://gerrit.opnfv.org:29418/$PROJECT
258 description: "URL for LF POD"
260 ########################
262 ########################
264 name: 'yardstick-trigger-ericsson'
269 name: 'yardstick-trigger-lf'
271 - timed: '#@midnight'