8 installer_ip: '10.20.0.2'
11 installer_type: 'foreman'
12 installer_ip: '172.30.10.73'
15 - 'yardstick-{installer}-{stream}'
19 # stream: branch with - in place of / (eg. stable-helium)
20 # 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}-{stream}'
165 project-type: freestyle
176 default: '{installer_type}'
177 description: "Installer name that is used for deployment."
180 default: '{installer_ip}'
181 description: "Installer IP."
185 credentials-id: '{ssh-credentials}'
192 artifactDaysToKeep: -1
193 artifactNumToKeep: -1
196 - 'yardstick-fetch-os-creds'
201 recipients: ana.cunha@ericsson.com
203 ########################
205 ########################
207 name: yardstick-daily
214 echo "Yardstick: Run benchmark test suites ..."
216 # Make sure we have latest image
217 docker pull opnfv/yardstick-ci
223 -e "INSTALLER_TYPE=${INSTALLER_TYPE}" \
224 -e "INSTALLER_IP=${INSTALLER_IP}" \
228 echo "Yardstick: done!"
231 name: yardstick-fetch-os-creds
234 !include-raw ../../utils/fetch_os_creds.sh