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

82 lines
2.8 KiB
YAML

---
- 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
name: collect-logs
irrelevant-files:
- ^vars/sova-patterns.yml$
- project:
vars:
fail_logs_collection: true
templates:
- tripleo-undercloud-jobs-pipeline
check:
jobs: &jobs
- openstack-tox-linters
- openstack-tox-molecule
# 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-content-provider:
irrelevant-files: &irrelevant_sa
- ^.*\.md$
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
# do not put requirements.txt here, as it can have a huge impact
- ^test-requirements.txt$
- ^lower-constraints.txt$
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^vars/sova-patterns.yml$
- ^.ansible-lint$
- ^.pre-commit-config.yaml$
- ^.yamllint$
- tripleo-ci-centos-8-scenario001-standalone:
irrelevant-files: *irrelevant_sa
vars: &c8_content_provider
consumer_job: true
tags:
- standalone
dependencies: &c8_content_deps
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-scenario002-standalone:
irrelevant-files: *irrelevant_sa
vars: *c8_content_provider
dependencies: *c8_content_deps
- tripleo-ci-centos-8-containers-multinode:
irrelevant-files: *irrelevant_sa
vars: &multi_consumer_vars
consumer_job: true
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
dependencies: *c8_content_deps
- zuul-ansible-role-collect-logs
gate:
jobs: *jobs
queue: tripleo
post:
jobs:
- publish-openstack-python-branch-tarball