blob: f30944c08faf32267ad28665dc136bcdc0e990b4 [file] [log] [blame]
---
# verification jobs for 'voltha-go' repo
- project:
name: voltha-go
project: '{name}'
jobs:
- 'verify-voltha-go-jobs':
branch-regexp: '{all-branches-regexp}'
- 'verify-voltha-go-jobs-master':
branch-regexp: '^master$'
- 'verify-voltha-go-jobs-voltha-2.12':
name-extension: '-voltha-2.12'
override-branch: 'voltha-2.12'
branch-regexp: '^voltha-2.12$'
- 'verify-voltha-go-jobs-voltha-2.11':
name-extension: '-voltha-2.11'
override-branch: 'voltha-2.11'
branch-regexp: '^voltha-2.11$'
# - 'verify-voltha-go-jobs-voltha-2.8':
# name-extension: '-voltha-2.8'
# override-branch: 'voltha-2.8'
# branch-regexp: '^voltha-2.8$'
- 'publish-voltha-go-jobs':
branch-regexp: '{all-branches-regexp}'
- job-group:
name: 'verify-voltha-go-jobs'
jobs:
- 'verify-licensed'
- 'make-unit-test':
# build-node: 'ubuntu18.04-basebuild-4c-8g'
build-node: 'ubuntu18.04-basebuild-8c-15g'
build-timeout: 20
dest-gopath: "github.com/opencord"
name-extension: "-lint"
unit-test-targets: 'lint sca'
unit-test-keep-going: 'false'
junit-allow-empty-results: true
- 'make-unit-test':
build-node: 'ubuntu18.04-basebuild-2c-4g'
dest-gopath: "github.com/opencord"
name-extension: "-tests"
unit-test-targets: 'test'
unit-test-keep-going: 'false'
- job-group:
name: 'verify-voltha-go-jobs-voltha-2.12'
jobs:
- 'voltha-patch-test':
pipeline-script: 'voltha/bbsim-tests.groovy'
pipeline-branch: 'voltha-2.12'
- job-group:
name: 'verify-voltha-go-jobs-voltha-2.11'
jobs:
- 'voltha-patch-test':
pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
pipeline-branch: 'voltha-2.11'
# - job-group:
# name: 'verify-voltha-go-jobs-voltha-2.8'
# jobs:
# - 'voltha-patch-test':
# pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
- job-group:
name: 'verify-voltha-go-jobs-master'
jobs:
- 'voltha-patch-test':
extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
- job-group:
name: 'publish-voltha-go-jobs'
jobs:
- 'docker-publish':
build-timeout: 30
docker-repo: 'voltha'
dependency-jobs: 'version-tag_wildcard'
extraEnvironmentVars: BUILD_PROFILED=true BUILD_RACE=true
# [EOF]