- job:
    name: cliff-tox-py37-neutronclient-tip
    parent: openstack-tox-py37
    description: |
      Run unit tests for neutronclient with master branch of cliff

      Uses tox with the ``unit-tips`` environment and master branch of
      the required-projects below.
    branches: ^master$
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$
    required-projects:
      - openstack/cliff
      - openstack/python-neutronclient
    vars:
      # Set work dir to neutronclient so that if it's triggered by one of the
      # other repos the tests will run in the same place
      zuul_work_dir: src/opendev.org/openstack/python-neutronclient

- project:
    templates:
      - check-requirements
      - lib-forward-testing-python3
      - openstack-python3-yoga-jobs
      - publish-openstack-docs-pti
    check:
      jobs:
        - cliff-tox-py37-neutronclient-tip
        - osc-tox-py36-tips:
            branches: ^master$
    gate:
      jobs:
        - cliff-tox-py37-neutronclient-tip
        - osc-tox-py36-tips:
            branches: ^master$

- job:
    name: cliff-tox-py38-neutronclient-tip
    parent: openstack-tox-py38
    description: |
      Run unit tests for neutronclient with master branch of cliff

      Uses tox with the ``unit-tips`` environment and master branch of
      the required-projects below.
    branches: ^master$
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$
    required-projects:
      - openstack/cliff
      - openstack/python-neutronclient
    vars:
      # Set work dir to neutronclient so that if it's triggered by one of the
      # other repos the tests will run in the same place
      zuul_work_dir: src/opendev.org/openstack/python-neutronclient

- project:
    templates:
      - check-requirements
      - lib-forward-testing-python3
      - openstack-python3-zed-jobs
      - publish-openstack-docs-pti
    check:
      jobs:
        - cliff-tox-py38-neutronclient-tip
        - osc-tox-py38-tips:
            branches: ^master$
    gate:
      jobs:
        - cliff-tox-py38-neutronclient-tip
        - osc-tox-py38-tips:
            branches: ^master$

Migrate Python 3.6/7 jobs to Python 3.8
Migrate Python 3.6/7 jobs to Python 3.8

Support for Python 3.6 and 3.7 is being removed globally. The current
latest release of python-novaclient (18.0.0) does not support these two
versions. The next python-neutronclient release does not, either.

This migrates Python 3.6/7 jobs to Python 3.8 because 3.8 is now
the minimum supported version.

This also replaces Python3 yoga unit tests by zena unit tests.

Depends-on: https://review.opendev.org/843115
Change-Id: I03957cf4bd0a96cb1d07e80727c184854b869fc3
