---
# verification jobs for 'voltha-system-tests' repo

- project:
    name: voltha-system-tests
    project: '{name}'

    jobs:
      - 'verify-voltha-system-tests-jobs':
          build-node: 'ubuntu22.04-basebuild-4c-8g'
          branch-regexp: '{all-branches-regexp}'
      - 'verify-voltha-system-tests-jobs-master':
          build-node: 'ubuntu22.04-basebuild-4c-8g'
          branch-regexp: '^master$'
      - 'verify-voltha-system-tests-jobs-py312':
          build-node: 'ubuntu24.04-basebuild-4c-8g'
          name-extension: '-py312'
          override-branch: 'python312-update'
          branch-regexp: '^python312-update$'
      - 'verify-voltha-system-tests-jobs-voltha-2.14':
          build-node: 'ubuntu22.04-basebuild-4c-8g'
          name-extension: '-voltha-2.14'
          override-branch: 'voltha-2.14'
          branch-regexp: '^voltha-2.14$'

- job-group:
    name: 'verify-voltha-system-tests-jobs'
    jobs:
      - 'verify-licensed'
      - 'make-unit-test':
          dependency-jobs: 'verify_voltha-system-tests_tag-collision'
          unit-test-targets: 'lint'
          junit-allow-empty-results: true

- job-group:
    name: 'verify-voltha-system-tests-jobs-py312'
    jobs:
      - 'voltha-patch-test':
          pipeline-script: 'voltha/bbsim-tests.groovy'
          pipeline-branch: 'python312-update'

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

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

# [EOF]
