---
# 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.12':
          name-extension: '-voltha-2.12'
          branch-regexp: '^voltha-2.12$'
      - 'verify-bbsim-sadis-server-jobs-voltha-2.11':
          name-extension: '-voltha-2.11'
          branch-regexp: '^voltha-2.11$'
      - '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: 'false'

- 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: 'verify-bbsim-sadis-server-jobs-voltha-2.12'
    jobs:
      - 'voltha-patch-test':
          pipeline-script: 'voltha/bbsim-tests.groovy'
          pipeline-branch: 'voltha-2.12'

- job-group:
    name: 'verify-bbsim-sadis-server-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: 'publish-bbsim-sadis-server-jobs'
    jobs:
      - 'docker-publish':
          maintainers: "onf-bat-admin@opennetworking.org"
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag_wildcard'

# [EOF] x 3
