---
# verification jobs for 'voltha-openonu-adapter-go' repo

- project:
    name: voltha-openonu-adapter-go
    project: '{name}'

    jobs:
      - 'verify-voltha-openonu-adapter-go-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'publish-voltha-openonu-adapter-go-jobs':
          branch-regexp: '{all-branches-regexp}'

- job-group:
    name: 'verify-voltha-openonu-adapter-go-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject'
      - 'make-unit-test':
          dest-gopath: "github.com/opencord"
          name-extension: "-lint"
          unit-test-targets: 'lint sca'
          unit-test-keep-going: 'true'
          junit-allow-empty-results: true
          build-node: 'ubuntu16.04-basebuild-2c-4g'
      - 'make-unit-test':
          dest-gopath: "github.com/opencord"
          name-extension: "-tests"
          unit-test-targets: 'test'
          unit-test-keep-going: 'true'
          junit-allow-empty-results: true
          build-node: 'ubuntu16.04-basebuild-2c-4g'
      - 'voltha-patch-test':
          pipeline-script: 'voltha-openonu-go-tests.groovy'

- job-group:
    name: 'publish-voltha-openonu-adapter-go-jobs'
    jobs:
      - 'docker-publish':
          build-timeout: 30
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag'
