validations-libs/.zuul.yaml
Veronika Fisarova 136827b8fe Run validations with parameters from a file
This patch adds new command 'file'to the validation CLI. User can include and exclude validations by name(s), group(s), category(ies) or by product(s) and run them from YAML file with arbitrary parameters.

Resolves: rhbz#2122209

Depends-On: https://review.opendev.org/c/openstack/validations-common/+/872746/
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: Ifc6c28003c4c2c5f3dd6198e650f9713a02dc82d
2023-03-27 14:54:26 +00:00

130 lines
3.9 KiB
YAML

---
- job:
name: validations-libs-podified-podman
parent: devstack-platform-fedora-latest
run: playbooks/validations-libs-podified.yaml
post-run: playbooks/post.yaml
timeout: 7200
voting: true
required-projects:
- openstack/validations-libs
- openstack/validations-common
- name: openstack/openstacksdk
override-checkout: master
- name: opendev.org/openstack/devstack
override-checkout: master
vars:
container_engine: podman
devstack_localrc:
USE_PYTHON3: true
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: validations-libs-podified-docker
parent: validations-libs-podified-podman
vars:
container_engine: docker
- job:
name: validations-libs-functional
parent: devstack
run: playbooks/validations-libs-functional.yaml
post-run: playbooks/post.yaml
timeout: 7200
required-projects:
- openstack/validations-libs
- openstack/validations-common
- name: openstack/openstacksdk
override-checkout: master
- name: opendev.org/openstack/devstack
override-checkout: master
vars:
devstack_localrc:
USE_PYTHON3: true
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: validations-libs-reqcheck
nodeset: centos-9-stream
parent: base
run: playbooks/reqcheck.yaml
timeout: 1600
voting: true
required-projects:
- openstack/validations-libs
files:
- ^requirements.txt$
- job:
name: tripleo-ci-centos-9-standalone-validation-libs
parent: tripleo-ci-centos-9-standalone
vars:
featureset: '052'
validate_services: true
enable_validation: true
validation_component: validation
- project:
templates:
- check-requirements
check:
jobs:
- validations-libs-reqcheck
- openstack-tox-linters
- openstack-tox-cover
- openstack-tox-py38
- openstack-tox-py39
- tripleo-ci-centos-9-standalone-validation-libs: &standalone_consumer_job_params
vars: &standalone_consumer_job_vars
build_container_images: true
dependencies:
- openstack-tox-linters
- openstack-tox-cover
- validations-libs-functional
- validations-libs-podified-podman
- validations-libs-podified-docker
- openstack-tox-docs: &tripleo-docs
files:
- ^doc/.*
- ^README.rst
- ^validations_libs/.*
- ^CONTRIBUTING.rst
- validations-libs-functional
- validations-libs-podified-podman
- validations-libs-podified-docker
- tripleo-ci-centos-9-undercloud-containers: &undercloud_containers_job_params
dependencies:
- openstack-tox-linters
- openstack-tox-cover
- validations-libs-functional
- validations-libs-podified-podman
- validations-libs-podified-docker
gate:
jobs:
- openstack-tox-linters
- openstack-tox-py38
- openstack-tox-py39
- openstack-tox-docs: *tripleo-docs
- validations-libs-functional
- validations-libs-podified-podman
- validations-libs-podified-docker
- tripleo-ci-centos-9-standalone-validation-libs:
vars: *standalone_consumer_job_vars
dependencies:
- openstack-tox-linters
- validations-libs-functional
- validations-libs-podified-podman
- validations-libs-podified-docker
- tripleo-ci-centos-9-undercloud-containers:
dependencies:
- openstack-tox-linters
- validations-libs-functional
promote:
jobs:
- promote-openstack-tox-docs: *tripleo-docs