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'
38 artifactDaysToKeep: -1
48 default: https://gerrit.opnfv.org/gerrit/$PROJECT
49 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
53 credentials-id: '{ssh-credentials}'
54 refspec: '$GERRIT_REFSPEC'
55 choosing-strategy: 'gerrit'
60 - patchset-created-event:
61 exclude-drafts: 'false'
62 exclude-trivial-rebase: 'false'
63 exclude-no-code-change: 'false'
64 - draft-published-event
65 - comment-added-contains-event:
66 comment-contains-value: 'recheck'
67 - comment-added-contains-event:
68 comment-contains-value: 'reverify'
70 - project-compare-type: 'ANT'
71 project-pattern: 'yardstick'
73 - branch-compare-type: 'ANT'
74 branch-pattern: '**/master'
82 echo "Running unit tests..."
84 virtualenv $WORKSPACE/yardstick_venv
85 source $WORKSPACE/yardstick_venv/bin/activate
86 easy_install -U setuptools
87 python setup.py develop
92 name: 'yardstick-merge'
94 # builder-merge job to run JJB update
96 # This job's purpose is to update all the JJB
107 default: https://gerrit.opnfv.org/gerrit/$PROJECT
108 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
111 - gerrit-trigger-scm:
112 credentials-id: '{ssh-credentials}'
114 choosing-strategy: 'default'
119 - change-merged-event
120 - comment-added-contains-event:
121 comment-contains-value: 'remerge'
123 - project-compare-type: 'ANT'
124 project-pattern: 'yardstick'
126 - branch-compare-type: 'ANT'
127 branch-pattern: '**/master'
135 echo "Running unit tests..."
137 virtualenv $WORKSPACE/yardstick_venv
138 source $WORKSPACE/yardstick_venv/bin/activate
139 easy_install -U setuptools
140 python setup.py develop
145 name: 'yardstick-{installer}-{pod}-{stream}'
158 description: "POD where the job runs"
161 default: '{installer_type}'
162 description: "Installer name that is used for deployment."
165 default: '{installer_ip}'
166 description: "Installer IP."
170 credentials-id: '{ssh-credentials}'
177 artifactDaysToKeep: -1
178 artifactNumToKeep: -1
181 - 'yardstick-trigger-{pod}'
184 - 'yardstick-fetch-os-creds'
189 recipients: ana.cunha@ericsson.com jorgen.w.karlsson@ericsson.com
191 ########################
193 ########################
195 name: yardstick-daily
201 echo "Yardstick: Run benchmark test suites ..."
203 # Remove old containers
204 docker ps | grep opnfv/yardstick-ci |\
205 awk '{print $1}' | xargs -r docker stop &>/dev/null
206 docker ps -a | grep opnfv/yardstick-ci |\
207 awk '{print $1}' | xargs -r docker rm &>/dev/null
209 # Make sure we have latest image
210 docker pull opnfv/yardstick-ci
216 -e "INSTALLER_TYPE=${INSTALLER_TYPE}" \
217 -e "INSTALLER_IP=${INSTALLER_IP}" \
221 echo "Yardstick: done!"
224 name: yardstick-fetch-os-creds
227 !include-raw ../../utils/fetch_os_creds.sh
229 ########################
231 ########################
233 name: 'ericsson-parameters'
237 default: https://gerrit.opnfv.org/gerrit/$PROJECT
238 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
241 name: 'lf-parameters'
245 default: ssh://gerrit.opnfv.org:29418/$PROJECT
246 description: "URL for LF POD"
248 ########################
250 ########################
252 name: 'yardstick-trigger-ericsson'
257 name: 'yardstick-trigger-lf'
259 - timed: '#@midnight'