---
# verification jobs for 'voltha-protos' repo

- project:
    name: voltha-protos
    project: '{name}'

    jobs:
      - 'verify-voltha-protos-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'post-merge-voltha-protos-jobs':
          branch-regexp: '{all-branches-regexp}'
          pypi-index: 'pypi'
          pypi-prep-commands: 'make python-protos'

- job-group:
    name: 'verify-voltha-protos-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject':
      - 'make-unit-test':
          build-node: 'ubuntu16.04-basebuild-2c-4g'
          build-timeout: 20
          unit-test-targets: 'test'
          unit-test-keep-going: 'true'

- job-group:
    name: 'post-merge-voltha-protos-jobs'
    jobs:
      - 'pypi-publish':
          project-regexp: '^{name}$'
          dependency-jobs: 'version-tag'
