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'
42 default: https://gerrit.opnfv.org/gerrit/$PROJECT
43 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
47 credentials-id: '{ssh-credentials}'
48 refspec: '$GERRIT_REFSPEC'
49 choosing-strategy: 'gerrit'
54 - patchset-created-event:
55 exclude-drafts: 'false'
56 exclude-trivial-rebase: 'false'
57 exclude-no-code-change: 'false'
58 - draft-published-event
59 - comment-added-contains-event:
60 comment-contains-value: 'recheck'
61 - comment-added-contains-event:
62 comment-contains-value: 'reverify'
64 - project-compare-type: 'ANT'
65 project-pattern: 'yardstick'
67 - branch-compare-type: 'ANT'
68 branch-pattern: '**/master'
76 echo "Running unit tests..."
78 virtualenv $WORKSPACE/yardstick_venv
79 source $WORKSPACE/yardstick_venv/bin/activate
80 easy_install -U setuptools
81 python setup.py develop
86 name: 'yardstick-merge'
88 # builder-merge job to run JJB update
90 # This job's purpose is to update all the JJB
101 default: https://gerrit.opnfv.org/gerrit/$PROJECT
102 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
105 - gerrit-trigger-scm:
106 credentials-id: '{ssh-credentials}'
108 choosing-strategy: 'default'
113 - change-merged-event
114 - comment-added-contains-event:
115 comment-contains-value: 'remerge'
117 - project-compare-type: 'ANT'
118 project-pattern: 'yardstick'
120 - branch-compare-type: 'ANT'
121 branch-pattern: '**/master'
129 echo "Running unit tests..."
131 virtualenv $WORKSPACE/yardstick_venv
132 source $WORKSPACE/yardstick_venv/bin/activate
133 easy_install -U setuptools
134 python setup.py develop
139 name: 'yardstick-{installer}-{pod}-{stream}'
152 description: "POD where the job runs"
155 default: '{installer_type}'
156 description: "Installer name that is used for deployment."
159 default: '{installer_ip}'
160 description: "Installer IP."
164 credentials-id: '{ssh-credentials}'
169 - 'yardstick-trigger-{pod}'
172 - 'yardstick-fetch-os-creds'
177 recipients: ana.cunha@ericsson.com jorgen.w.karlsson@ericsson.com
179 ########################
181 ########################
183 name: yardstick-daily
189 echo "Yardstick: Run benchmark test suites ..."
191 # Remove old containers
192 docker ps | grep opnfv/yardstick-ci |\
193 awk '{print $1}' | xargs -r docker stop &>/dev/null
194 docker ps -a | grep opnfv/yardstick-ci |\
195 awk '{print $1}' | xargs -r docker rm &>/dev/null
197 # Make sure we have latest image
198 docker pull opnfv/yardstick-ci
204 -e "INSTALLER_TYPE=${INSTALLER_TYPE}" \
205 -e "INSTALLER_IP=${INSTALLER_IP}" \
209 echo "Yardstick: done!"
212 name: yardstick-fetch-os-creds
215 !include-raw ../../utils/fetch_os_creds.sh
217 ########################
219 ########################
221 name: 'ericsson-parameters'
225 default: https://gerrit.opnfv.org/gerrit/$PROJECT
226 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
229 name: 'lf-parameters'
233 default: ssh://gerrit.opnfv.org:29418/$PROJECT
234 description: "URL for LF POD"
236 ########################
238 ########################
240 name: 'yardstick-trigger-ericsson'
245 name: 'yardstick-trigger-lf'
247 - timed: '#@midnight'