---
# 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.8':
          name-extension: '-voltha-2.8'
          override-branch: 'voltha-2.8'
          branch-regexp: '^voltha-2.8$'
      - '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.8'
    jobs:
      - 'voltha-patch-test':
          pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'

- job-group:
    name: 'verify-voltha-helm-charts-jobs-master'
    jobs:
      - 'voltha-patch-test'
