---
# verification jobs for 'voltha-helm-charts' repo

- project:
    name: voltha-helm-charts
    project: '{name}'

    jobs:
      - 'verify-voltha-helm-charts-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'verify-voltha-helm-charts-jobs-voltha-2.7':
          name-extension: '-voltha-2.7'
          override-branch: 'voltha-2.7'
          branch-regexp: '{kind-voltha-regexp}'
      - 'verify-voltha-helm-charts-jobs-master':
          branch-regexp: '^master$'

- job-group:
    name: 'verify-voltha-helm-charts-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject':
          dependency-jobs: 'verify_voltha-helm-charts_licensed'
      - 'verify-helm-lint':
          dependency-jobs: 'verify_voltha-helm-charts_tag-collision'

- job-group:
    name: 'verify-voltha-helm-charts-jobs-voltha-2.7'
    jobs:
      - 'voltha-patch-test':
          pipeline-script: 'voltha/voltha-2.7/bbsim-tests.groovy'

- job-group:
    name: 'verify-voltha-helm-charts-jobs-master'
    jobs:
      - 'voltha-patch-test':
          pipeline-script: 'voltha/master/bbsim-tests.groovy'
