- job:
    name: kuryr-libnetwork-fullstack-base
    parent: legacy-dsvm-base
    vars:
      use_python3: 0
      use_src: 0
    run: playbooks/kuryr-libnetwork-fullstack-base/run.yaml
    post-run: playbooks/kuryr-libnetwork-fullstack-base/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/devstack-plugin-container
      - openstack/kuryr
      - openstack/kuryr-libnetwork
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$

- job:
    name: kuryr-libnetwork-rally-base
    parent: rally-task-at-devstack
    timeout: 7800
    vars:
      use_src: 0
      devstack_plugins:
        rally-openstack: https://opendev.org/openstack/rally-openstack
        kuryr-libnetwork: http://opendev.org/openstack/kuryr-libnetwork
        devstack-plugin-container: https://github.com/openstack/devstack-plugin-container
      devstack_local_config:
        KURYR_CONFIG_DIR: /etc/kuryr-libnetwork
      rally_task: rally-jobs/kuryr-libnetwork.yaml
    required-projects:
      - openstack/rally-openstack
      - openstack/kuryr
      - openstack/kuryr-libnetwork
      - openstack/devstack-plugin-container
    voting: false

- job:
    name: kuryr-libnetwork-install
    parent: legacy-dsvm-base
    run: playbooks/kuryr-libnetwork-install/run.yaml
    post-run: playbooks/kuryr-libnetwork-install/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/devstack-plugin-container
      - openstack/kuryr
      - openstack/kuryr-libnetwork
    voting: false

- job:
    name: kuryr-libnetwork-install-multinode
    parent: legacy-dsvm-base-multinode
    run: playbooks/kuryr-libnetwork-install-multinode/run.yaml
    post-run: playbooks/kuryr-libnetwork-install-multinode/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/devstack-plugin-container
      - openstack/kuryr
      - openstack/kuryr-libnetwork

- job:
    name: kuryr-libnetwork-fullstack
    parent: kuryr-libnetwork-fullstack-base

- job:
    name: kuryr-libnetwork-fullstack-py3
    parent: kuryr-libnetwork-fullstack-base
    vars:
      use_python3: 1

- job:
    name: kuryr-libnetwork-kuryr_lib-src-fullstack
    parent: kuryr-libnetwork-fullstack-base
    vars:
      use_src: 1
    branches: master
    voting: false

- job:
    name: kuryr-libnetwork-rally
    parent: kuryr-libnetwork-rally-base

- job:
    name: kuryr-libnetwork-kuryr_lib-src-rally
    parent: kuryr-libnetwork-rally-base
    vars:
      use_src: 1
    branches: master
    voting: false

- project:
    templates:
      - openstack-cover-jobs
      - openstack-lower-constraints-jobs
      - openstack-python-jobs
      - openstack-python3-train-jobs
      - release-notes-jobs-python3
      - publish-openstack-docs-pti
      - check-requirements
    check:
      jobs:
        - kuryr-libnetwork-install
        - kuryr-libnetwork-kuryr_lib-src-fullstack
        - kuryr-libnetwork-fullstack
        - kuryr-libnetwork-kuryr_lib-src-rally
        - kuryr-libnetwork-fullstack-py3
        - kuryr-libnetwork-rally
    gate:
      jobs:
        - kuryr-libnetwork-kuryr_lib-src-fullstack
        - kuryr-libnetwork-fullstack
        - kuryr-libnetwork-fullstack-py3
    experimental:
      jobs:
        - kuryr-libnetwork-install-multinode
