blob: eb7b8cf6d08690b15177b5e85c0657a42c016acc [file] [log] [blame]
---
# verification jobs for 'voltha-go-controller' repo
- project:
name: voltha-go-controller
project: '{name}'
jobs:
- 'verify-voltha-go-controller-jobs':
branch-regexp: '{all-branches-regexp}'
# NOTE no releases yet, will be enabled once 2.10 or 2.11 is out
# - 'verify-voltha-go-controller-jobs-voltha-2.9':
# name-extension: '-voltha-2.9'
# branch-regexp: '^voltha-2.9$'
# NOTE will be enabled once we have a pipeline that supports this controller
# - 'verify-voltha-go-controller-jobs-master':
# branch-regexp: '^master$'
# NOTE will be enabled once we have artifacts to build
# - 'publish-voltha-go-controller-jobs':
# branch-regexp: '{all-branches-regexp}'
- job-group:
name: 'verify-voltha-go-controller-jobs'
jobs:
- 'verify-licensed'
- 'tag-collision-reject':
dependency-jobs: 'verify_voltha-go-controller_licensed'
- 'make-unit-test':
build-node: 'ubuntu18.04-basebuild-1c-2g'
dest-gopath: "github.com/opencord"
unit-test-targets: 'lint sca test'
unit-test-keep-going: 'true'
# NOTE needed until we have some unit tests in place
junit-allow-empty-results: true
# - job-group:
# name: 'verify-voltha-go-controller-jobs-voltha-2.9'
# jobs:
# - 'voltha-patch-test':
# pipeline-script: 'voltha/voltha-2.9/bbsim-tests.groovy'
# - job-group:
# name: 'verify-voltha-go-controller-jobs-master'
# jobs:
# - 'voltha-patch-test':
# extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
# - job-group:
# name: 'publish-voltha-go-controller-jobs'
# jobs:
# - 'docker-publish':
# maintainers: "info@opennetworking.org"
# docker-repo: 'voltha'
# dependency-jobs: 'version-tag'