---
# POD Build Pipeline Jobs for Voltha Releases

- project:
    name: voltha-release-jobs

    project-name: '{name}'

    build-timeout: '300'

    jobs:
      # flex OCP pod with olt/onu - release voltha master build job
      - 'build_pod_manual':
          testvm: 'onf-build'
          config-pod: 'onlab-pd1'
          release: 'master'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
          oltDebVersion: 'openolt-seba-2.0.deb'
          profile: '1T4GEM'

      # onlab pod1 OCP pod with olt/onu - release voltha master build job
      - 'build_pod_manual':
          testvm: 'qa-testvm-pod'
          config-pod: 'flex-ocp-cord'
          release: 'master'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          Jenkinsfile: 'Jenkinsfile-voltha-build'
          oltDebVersion: 'openolt_asfvolt16.deb'
          profile: '1T4GEM-bal31'

      # flex pod1 test job - using voltha branch
      - 'build_pod_test':
          testvm: 'qa-testvm-pod'
          config-pod: 'flex-ocp-cord'
          profile: 'multipleGem'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          Jenkinsfile: 'Jenkinsfile-voltha-test'

      # flex OCP pod with olt/onu - Default tech profile and timer based job
      - 'build_voltha_pod_release':
          testvm: 'qa-testvm-pod'
          config-pod: 'flex-ocp-cord'
          release: 'master'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          Jenkinsfile: 'Jenkinsfile-voltha-build'
          oltDebVersion: 'openolt-seba-2.0.deb'
          configurePod: true
          profile: 'Default'

      # flex pod1 test job - uses tech profile on voltha branch
      - 'build_voltha_pod_test':
          testvm: 'qa-testvm-pod'
          config-pod: 'flex-ocp-cord'
          release: 'master'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          profile: 'Default'
          Jenkinsfile: 'Jenkinsfile-voltha-test'

      # flex OCP pod with olt/onu - uses 1TCONT/4GEMs tech profile on voltha - timer based job
      - 'build_voltha_pod_release':
          testvm: 'qa-testvm-pod'
          config-pod: 'flex-ocp-cord'
          release: 'master'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          Jenkinsfile: 'Jenkinsfile-voltha-build'
          oltDebVersion: 'openolt-seba-2.0.deb'
          configurePod: true
          profile: '1T4GEM'

      # flex pod1 test job - test job uses 1TCONT/4GEMs tech profile - using voltha branch
      - 'build_voltha_pod_test':
          testvm: 'qa-testvm-pod'
          config-pod: 'flex-ocp-cord'
          release: 'master'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          profile: '1T4GEM'
          Jenkinsfile: 'Jenkinsfile-voltha-test'

      # Menlo DEMO-POD
      - 'build_pod_manual':
          testvm: 'menlo-demo-pod'
          config-pod: 'onf-demo-pod'
          release: '2.1'
          branch: 'master'
          test-repo: 'voltha-system-tests'
          Jenkinsfile: 'Jenkinsfile-voltha-build'
          oltDebVersion: 'openolt-seba-2.0.deb'
          configurePod: true
          profile: '1T4GEM'
