blob: 93e0e1e3a770f305e133fa3ce00561a1b0a9c9a5 [file] [log] [blame]
---
# verification jobs for 'xos' repo
- project:
name: xos
project: '{name}'
jobs:
- 'verify-xos-jobs-licensed-versioned':
branch-regexp: '{supported-branches-regexp}'
- 'verify-xos-jobs-code':
branch-regexp: '{supported-branches-regexp}'
- 'publish-xos-jobs':
branch-regexp: '{supported-branches-regexp}'
# these two job groups are split so that documentation-only patches can go into
# the XOS repo without invoking all the code-level tests.
#
# Items in the 'verify-xos-jobs-code' job-group only trigger with
# 'non-doc-files-regexp', which excludes the docs/* and VERSION file
- job-group:
name: 'verify-xos-jobs-licensed-versioned'
jobs:
- 'verify-licensed'
- 'tag-collision-reject':
dependency-jobs: 'verify_xos_licensed'
- job-group:
name: 'verify-xos-jobs-code'
jobs:
- 'python-unit-test':
build-timeout: 45
build-node: 'ubuntu16.04-basebuild-2c-4g'
- 'api-test':
pipeline-script: 'xos-core.groovy'
- job-group:
name: 'publish-xos-jobs'
jobs:
- 'pypi-publish':
pypi-module-dirs: 'lib/xos-config|lib/xos-genx|lib/xos-util|lib/xos-api|lib/xos-migrate|lib/xos-synchronizer|lib/xos-kafka'
project-regexp: '^{name}$'
pypi-index: 'pypi'
dependency-jobs: 'version-tag'
- 'docker-publish':
build-timeout: 30
docker-repo: 'xosproject'
dependency-jobs: 'version-tag'