---
# verification jobs for 'voltha-api-server' repo

# NOTE voltha-api-server is unmaintained, should we keep running tests?

- project:
    name: voltha-api-server
    project: '{name}'

    jobs:
      - 'verify-voltha-api-server-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'publish-voltha-api-server-jobs':
          branch-regexp: '{all-branches-regexp}'

- job-group:
    name: 'verify-voltha-api-server-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject':
          dependency-jobs: 'verify_voltha-api-server_licensed'
      - 'make-unit-test':
          build-node: 'ubuntu18.04-basebuild-2c-4g'
          dest-gopath: "github.com/opencord"
          unit-test-targets: 'lint sca test'
          unit-test-keep-going: 'true'
          junit-allow-empty-results: true
      - 'voltha-patch-test':
          pipeline-script: 'voltha/voltha-2.7/bbsim-tests.groovy'

- job-group:
    name: 'publish-voltha-api-server-jobs'
    jobs:
      - 'docker-publish':
          build-timeout: 30
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag'
