rally/.zuul.d/python-jobs.yaml
Andriy Kurilin 087676be40 Update python versions
* Test python3.12
* Drop python3.8
* Drop usage of ubuntu-focal
* Rework CI job for installation check to use vitualenv to install Rally
* Add ansible-lint validation job for zuul playbooks & roles
* update upper-constraints file

Change-Id: I399f9eceab03c935aeb454b20001c0a7bd4d1619
2024-11-22 10:29:20 +01:00

127 lines
2.6 KiB
YAML

- job:
name: rally-tox-base
parent: unittests
pre-run: tests/ci/playbooks/tox-install.yaml
run: tests/ci/playbooks/tox-run.yaml
post-run: tests/ci/playbooks/fetch-html-and-json-reports.yaml
description: |
Run test for rally project.
nodeset: ubuntu-noble
- job:
name: rally-tox-docs
parent: rally-tox-base
description: |
Run test for rally project.
Uses tox with the ``self`` environment.
vars:
tox_env: docs
- job:
name: rally-tox-pep8
parent: rally-tox-base
description: |
Run test for rally project.
Uses tox with the ``self`` environment.
vars:
tox_env: pep8
- job:
name: rally-tox-functional
parent: rally-tox-base
description: |
Run test for rally project.
Uses tox with the ``functional`` environment.
vars:
tox_env: functional
- job:
name: rally-tox-self
parent: rally-tox-base
description: |
Run test for rally project.
Uses tox with the ``self`` environment.
vars:
tox_env: self
- job:
name: rally-tox-py38
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``py38`` environment.
vars:
tox_env: py38
nodeset: ubuntu-focal
- job:
name: rally-tox-py39
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``py39`` environment.
vars:
tox_env: py39
nodeset: ubuntu-focal
- job:
name: rally-tox-py310
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``py310`` environment.
vars:
tox_env: py310
nodeset: ubuntu-jammy
- job:
name: rally-tox-py311
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``py311`` environment.
vars:
tox_env: py311
nodeset: debian-bookworm
- job:
name: rally-tox-py312
parent: rally-tox-base
vars:
tox_env: py312
- job:
name: rally-tox-samples
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``samples`` environment.
vars:
tox_env: samples
- job:
name: rally-tox-cover
parent: tox-cover
description: |
Run test for rally project.
Uses tox with the ``cover`` environment.
vars:
coverage_output_src: '{{ zuul.project.src_dir }}/cover/'
zuul_executor_dest: '{{ zuul.executor.log_root }}/coverage/'
- job:
name: rally-tox-zuul-ansible-lint
parent: rally-tox-py312
vars:
tox_env: zuul-ansible-lint