---
# verification jobs for 'ofagent-py' repo

# NOTE ofagent-py is unmaintained, should we keep running tests?

- project:
    name: ofagent-py
    project: '{name}'

    jobs:
      - 'verify-ofagent-py-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'publish-ofagent-py-jobs':
          branch-regexp: '{all-branches-regexp}'

- job-group:
    name: 'verify-ofagent-py-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject'
      - 'make-unit-test':
          unit-test-keep-going: 'true'
          junit-allow-empty-results: true
      - 'voltha-patch-test':
          pipeline-script: 'voltha/voltha-2.7/bbsim-tests.groovy'

- job-group:
    name: 'publish-ofagent-py-jobs'
    jobs:
      - 'docker-publish':
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag'
