2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
7 name: yardstick-project-jobs
12 - 'yardstick-verify-{stream}'
13 - 'yardstick-merge-{stream}'
21 branch: 'stable/{stream}'
22 gs-pathname: '/{stream}'
25 ################################
27 ################################
30 name: 'yardstick-verify-{stream}'
32 disabled: '{obj:disabled}'
38 - 'opnfv-build-ubuntu-defaults'
45 server-name: 'gerrit.opnfv.org'
47 - patchset-created-event:
48 exclude-drafts: 'false'
49 exclude-trivial-rebase: 'false'
50 exclude-no-code-change: 'false'
51 - draft-published-event
52 - comment-added-contains-event:
53 comment-contains-value: 'recheck'
54 - comment-added-contains-event:
55 comment-contains-value: 'reverify'
57 - project-compare-type: 'ANT'
58 project-pattern: '{project}'
60 - branch-compare-type: 'ANT'
61 branch-pattern: '**/{branch}'
70 - yardstick-unit-tests-python-27
71 - yardstick-unit-tests-python-3
72 - yardstick-functional-tests-python-27
73 - yardstick-functional-tests-python-3
74 - yardstick-coverage-tests
75 - yardstick-pep8-tests
78 name: 'yardstick-merge-{stream}'
80 disabled: '{obj:disabled}'
86 - 'opnfv-build-ubuntu-defaults'
89 default: '$GS_BASE{gs-pathname}'
90 description: "Directory where the build artifact will be located upon the completion of the build."
97 server-name: 'gerrit.opnfv.org'
100 - comment-added-contains-event:
101 comment-contains-value: 'remerge'
103 - project-compare-type: 'ANT'
104 project-pattern: '{project}'
106 - branch-compare-type: 'ANT'
107 branch-pattern: '**/{branch}'
116 - yardstick-unit-tests-python-27
117 - yardstick-unit-tests-python-3
118 - yardstick-functional-tests-python-27
119 - yardstick-functional-tests-python-3
120 - yardstick-coverage-tests
121 - yardstick-pep8-tests
123 ################################
125 ################################
128 name: yardstick-unit-tests-python-27
135 sudo apt-get install -y build-essential python-dev python3-dev
137 echo "Running unit tests in Python 2.7 ..."
142 name: yardstick-unit-tests-python-3
149 sudo apt-get install -y build-essential python-dev python3-dev
151 echo "Running unit tests in Python 3 ..."
156 name: yardstick-functional-tests-python-27
163 sudo apt-get install -y build-essential python-dev python3-dev
165 echo "Running functional tests in Python 2.7 ..."
170 name: yardstick-functional-tests-python-3
177 sudo apt-get install -y build-essential python-dev python3-dev
179 echo "Running functional tests in Python 3 ..."
184 name: yardstick-coverage-tests
191 sudo apt-get install -y build-essential python-dev python3-dev
193 echo "Running coverage tests ..."
198 name: yardstick-pep8-tests
205 sudo apt-get install -y build-essential python-dev python3-dev
207 echo "Running style guidelines (PEP8) tests ..."