---
# verification jobs for 'cordctl' repo

- project:
    name: cordctl
    project: '{name}'

    dest-gopath: "github.com/opencord"

    jobs:
      - 'verify-cordctl-jobs':
          branch-regexp: '{supported-branches-regexp}'
      - 'post-submit-cordctl-jobs':
          branch-regexp: '{supported-branches-regexp}'

- job-group:
    name: 'verify-cordctl-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject':
          dependency-jobs: 'verify_cordctl_licensed'
      - 'make-unit-test':
          unit-test-targets: 'lint test'
          unit-test-keep-going: 'true'
          dependency-jobs: 'verify_cordctl_tag-collision'

- job-group:
    name: 'post-submit-cordctl-jobs'
    jobs:
      - 'github-release':
          dependency-jobs: 'version-tag'
          github-organization: 'opencord'
          artifact-glob: 'release/*'
