---
# SPDX-FileCopyrightText: 2023-2024 Open Networking Foundation (ONF) and the ONF Contributors
# SPDX-License-Identifier: Apache-2.0

- project:
    name: voltha-helm-charts
    project: '{name}'
    project-regexp: '^{name}$'

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

- job-group:
    name: 'verify-voltha-helm-charts-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-check'
      - 'helm-lint'
      - 'version-tag'
      - 'publish-helm-repo'

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

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

# [EOF]
