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'
60 - ssh-agent-credentials:
61 user: '{ssh-credentials}'
66 - patchset-created-event:
67 exclude-drafts: 'false'
68 exclude-trivial-rebase: 'false'
69 exclude-no-code-change: 'false'
70 - draft-published-event
71 - comment-added-contains-event:
72 comment-contains-value: 'recheck'
73 - comment-added-contains-event:
74 comment-contains-value: 'reverify'
76 - project-compare-type: 'ANT'
77 project-pattern: 'yardstick'
79 - branch-compare-type: 'ANT'
80 branch-pattern: '**/master'
88 echo "Running unit tests..."
90 virtualenv $WORKSPACE/yardstick_venv
91 source $WORKSPACE/yardstick_venv/bin/activate
92 easy_install -U setuptools
93 python setup.py develop
98 name: 'yardstick-merge'
100 # builder-merge job to run JJB update
102 # This job's purpose is to update all the JJB
104 project-type: freestyle
111 artifactDaysToKeep: -1
121 default: https://gerrit.opnfv.org/gerrit/$PROJECT
122 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
125 - gerrit-trigger-scm:
126 credentials-id: '{ssh-credentials}'
128 choosing-strategy: 'default'
131 - ssh-agent-credentials:
132 user: '{ssh-credentials}'
137 - change-merged-event
138 - comment-added-contains-event:
139 comment-contains-value: 'remerge'
141 - project-compare-type: 'ANT'
142 project-pattern: 'yardstick'
144 - branch-compare-type: 'ANT'
145 branch-pattern: '**/master'
153 echo "Running unit tests..."
155 virtualenv $WORKSPACE/yardstick_venv
156 source $WORKSPACE/yardstick_venv/bin/activate
157 easy_install -U setuptools
158 python setup.py develop
163 name: 'yardstick-{installer}-{pod}-{stream}'
165 project-type: freestyle
178 description: "POD where the job runs"
181 default: '{installer_type}'
182 description: "Installer name that is used for deployment."
185 default: '{installer_ip}'
186 description: "Installer IP."
190 credentials-id: '{ssh-credentials}'
197 artifactDaysToKeep: -1
198 artifactNumToKeep: -1
201 - 'yardstick-trigger-{pod}'
204 - 'yardstick-fetch-os-creds'
209 recipients: ana.cunha@ericsson.com jorgen.w.karlsson@ericsson.com
211 ########################
213 ########################
215 name: yardstick-daily
221 echo "Yardstick: Run benchmark test suites ..."
223 # Remove old containers
224 docker ps | grep opnfv/yardstick-ci |\
225 awk '{print $1}' | xargs -r docker stop &>/dev/null
226 docker ps -a | grep opnfv/yardstick-ci |\
227 awk '{print $1}' | xargs -r docker rm &>/dev/null
229 # Make sure we have latest image
230 docker pull opnfv/yardstick-ci
236 -e "INSTALLER_TYPE=${INSTALLER_TYPE}" \
237 -e "INSTALLER_IP=${INSTALLER_IP}" \
241 echo "Yardstick: done!"
244 name: yardstick-fetch-os-creds
247 !include-raw ../../utils/fetch_os_creds.sh
249 ########################
251 ########################
253 name: 'ericsson-parameters'
257 default: https://gerrit.opnfv.org/gerrit/$PROJECT
258 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
261 name: 'lf-parameters'
265 default: ssh://gerrit.opnfv.org:29418/$PROJECT
266 description: "URL for LF POD"
268 ########################
270 ########################
272 name: 'yardstick-trigger-ericsson'
277 name: 'yardstick-trigger-lf'
279 - timed: '#@midnight'