1 ###################################################
2 # All the jobs except verify have been removed!
3 # They will only be enabled on request by projects!
4 ###################################################
6 name: yardstick-project-jobs
11 - 'yardstick-verify-{stream}'
12 - 'yardstick-merge-{stream}'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
22 ################################
24 ################################
27 name: 'yardstick-verify-{stream}'
34 - 'ericsson-build-defaults'
38 credentials-id: '{ssh-credentials}'
39 refspec: '$GERRIT_REFSPEC'
40 choosing-strategy: 'gerrit'
45 - patchset-created-event:
46 exclude-drafts: 'false'
47 exclude-trivial-rebase: 'false'
48 exclude-no-code-change: 'false'
49 - draft-published-event
50 - comment-added-contains-event:
51 comment-contains-value: 'recheck'
52 - comment-added-contains-event:
53 comment-contains-value: 'reverify'
55 - project-compare-type: 'ANT'
56 project-pattern: '{project}'
58 - branch-compare-type: 'ANT'
59 branch-pattern: '**/{branch}'
61 - yardstick-unit-tests-and-docs-build
62 - upload-under-review-docs-to-opnfv-artifacts
63 - report-docs-build-result-to-gerrit
66 name: 'yardstick-merge-{stream}'
73 - 'ericsson-build-defaults'
76 default: '$GS_BASE{gs-pathname}'
77 description: "Directory where the build artifact will be located upon the completion of the build."
81 credentials-id: '{ssh-credentials}'
83 choosing-strategy: 'default'
89 - comment-added-contains-event:
90 comment-contains-value: 'remerge'
92 - project-compare-type: 'ANT'
93 project-pattern: '{project}'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
99 - yardstick-unit-tests-and-docs-build
100 - upload-generated-docs-to-opnfv-artifacts
101 - report-docs-build-result-to-gerrit
102 - remove-old-docs-from-opnfv-artifacts
104 ################################
106 ################################
109 name: yardstick-unit-tests-and-docs-build
116 echo "Running unit tests..."
118 virtualenv $WORKSPACE/yardstick_venv
119 source $WORKSPACE/yardstick_venv/bin/activate
120 easy_install -U setuptools
121 python setup.py develop
126 # generate api doc sources
127 sphinx-apidoc -o docs/apidocs yardstick
130 git clone ssh://gerrit.opnfv.org:29418/releng
131 GERRIT_COMMENT=gerrit_comment.txt ./releng/utils/docs-build.sh