ansible-role-collect-logs/zuul.d/layout.yaml

103 lines
3.3 KiB
YAML

---
- job:
name: tox-ansible-test-sanity
description: Runs ansible-test sanity (tox -e sanity)
parent: tox
vars:
tox_envlist: sanity # dynamic tox env added by tox-ansible
# we want to run sanity only on py3.10 instead of implicit 2.6-3.9 range
tox_extra_args: -- --python 3.10
- job:
name: tox-ansible-test-units
description: Runs ansible-test sanity (tox -e sanity)
parent: tox
vars:
tox_envlist: units # dynamic tox env added by tox-ansible
# we want to run units on py38 instead of implicit 2.6-3.9 range
python_version: "3.8"
tox_extra_args: -- --python 3.8
- job:
name: zuul-ansible-role-collect-logs
description: Validate that zuul can use that role.
parent: base
run: test-playbooks/zuul-ansible-role-collect-logs.yaml
roles:
- zuul: opendev.org/openstack/ansible-role-collect-logs
irrelevant-files:
- ^vars/sova-patterns.yml$
- job:
description: Molecule job
name: tripleo-logs-tox-molecule
parent: tripleo-tox-molecule
pre-run:
- zuul.d/playbooks/pre.yml
timeout: 3600
- project:
vars:
fail_logs_collection: true
queue: tripleo
check:
jobs: &jobs
- openstack-tox-linters
- tripleo-logs-tox-molecule
- tox-ansible-test-sanity
- tox-ansible-test-units
- zuul-ansible-role-collect-logs
experimental:
jobs:
# Limit the number of jobs executed while still assuring a relevant
# level of coverage. If specific tasks are to be tested we should
# consider implementing functional tests for them, especially as
# running full integration does not effectively validates that the
# outcome was produced (they still rely on manual verification).
- tripleo-ci-centos-8-scenario001-standalone:
irrelevant-files: &irrelevant_sa
# do not put requirements.txt here, as it can have a huge impact
- ^.*\.md$
- ^.*\.rst$
- ^.ansible-lint$
- ^.pre-commit-config.yaml$
- ^.yamllint$
- ^Puppetfile.*$
- ^doc/.*$
- ^etc/.*$
- ^lower-constraints.txt$
- ^metadata.json$
- ^releasenotes/.*$
- ^spec/.*$
- ^test-requirements.txt$
- ^vars/sova-patterns.yml$
- ^zuul.d/tox\.yaml$
- tox.ini
vars:
consumer_job: false
build_container_images: true
tags:
- standalone
- tripleo-ci-centos-8-containers-multinode:
irrelevant-files: *irrelevant_sa
vars:
consumer_job: false
build_container_imags: true
tags:
- undercloud-setup
- undercloud-scripts
- undercloud-install
- undercloud-post-install
- tripleo-validations
- overcloud-scripts
- overcloud-prep-config
- overcloud-prep-containers
- overcloud-deploy
- overcloud-post-deploy
- overcloud-validate
gate:
jobs: *jobs
post:
jobs:
- publish-openstack-python-branch-tarball