---
# verification jobs for 'voltha-docs' repo

- project:
    name: voltha-docs
    project: '{name}'
    project-regexp: '^{name}$'
    build-node: ubuntu22.04-basebuild-4c-8g

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

- job-group:
    name: 'verify-voltha-docs-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-check'
      - 'make-unit-test':
          unit-test-targets: 'test'
          junit-allow-empty-results: true

- job-group:
    name: 'post-submit-voltha-docs-jobs'
    jobs:
      - 'version-tag'
      - 'sync-dir':
          dependency-jobs: 'version-tag_voltha-docs'
          build-command: 'make multiversion'
          build-output-path: '_build/multiversion/'
          sync-target-server: 'static.lfbroadband.org'
          sync-target-path: '/srv/sites/docs.voltha.org/'
          build-timeout: 60

# [EOF]
