- master:
branch: '{stream}'
gs-pathname: ''
- - brahmaputra:
+ disabled: false
+ - colorado:
branch: 'stable/{stream}'
gs-pathname: '/{stream}'
+ disabled: false
################################
# job templates
- job-template:
name: 'yardstick-verify-{stream}'
+ disabled: '{obj:disabled}'
+
parameters:
- project-parameter:
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
- - 'ericsson-build-defaults'
+ - 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ - git-scm-gerrit
triggers:
- gerrit:
+ server-name: 'gerrit.opnfv.org'
trigger-on:
- patchset-created-event:
exclude-drafts: 'false'
branch-pattern: '**/{branch}'
builders:
- yardstick-unit-tests-and-docs-build
- - upload-under-review-docs-to-opnfv-artifacts
- - report-docs-build-result-to-gerrit
- job-template:
name: 'yardstick-merge-{stream}'
+ disabled: '{obj:disabled}'
+
parameters:
- project-parameter:
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
- - 'ericsson-build-defaults'
+ - 'opnfv-build-ubuntu-defaults'
- string:
name: GS_URL
default: '$GS_BASE{gs-pathname}'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
+ - git-scm
triggers:
- gerrit:
+ server-name: 'gerrit.opnfv.org'
trigger-on:
- change-merged-event
- comment-added-contains-event:
builders:
- yardstick-unit-tests-and-docs-build
- - upload-generated-docs-to-opnfv-artifacts
- - report-docs-build-result-to-gerrit
- - remove-old-docs-from-opnfv-artifacts
################################
# job builders
# install python packages
easy_install -U setuptools
easy_install -U pip
- pip install -r ci/requirements.txt
+ pip install -r requirements.txt || pip install -r tests/ci/requirements.txt
pip install -e .
# unit tests
./run_tests.sh
- pip install Sphinx==1.3.1 doc8 docutils sphinxcontrib-httpdomain
-
- # generate api doc sources
- sphinx-apidoc -o docs/apidocs yardstick
-
- # build docs
- git clone ssh://gerrit.opnfv.org:29418/releng
- GERRIT_COMMENT=gerrit_comment.txt ./releng/utils/docs-build.sh
-
deactivate