---
# verification jobs for 'bbsim-sadis-server' repo

- project:
    name: bbsim-sadis-server
    project: '{name}'

    jobs:
      - 'verify-bbsim-sadis-server-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'verify-bbsim-sadis-server-jobs-voltha-2.8':
          name-extension: '-voltha-2.8'
          branch-regexp: '^voltha-2.8$'
      - 'verify-bbsim-sadis-server-jobs-master':
          branch-regexp: '^master$'
      - 'publish-bbsim-sadis-server-jobs':
          branch-regexp: '{all-branches-regexp}'

- job-group:
    name: 'verify-bbsim-sadis-server-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject':
          dependency-jobs: 'verify_bbsim-sadis-server_licensed'
      - 'make-unit-test':
          build-node: 'ubuntu18.04-basebuild-1c-2g'
          dest-gopath: "github.com/opencord"
          unit-test-targets: 'lint sca test'
          unit-test-keep-going: 'true'

- job-group:
    name: 'verify-bbsim-sadis-server-jobs-voltha-2.8'
    jobs:
      - 'voltha-patch-test':
          pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'

- job-group:
    name: 'verify-bbsim-sadis-server-jobs-master'
    jobs:
      - 'voltha-patch-test':
          extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'

- job-group:
    name: 'publish-bbsim-sadis-server-jobs'
    jobs:
      - 'docker-publish':
          maintainers: "teo@opennetworking.org"
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag'
