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