Skip unnecessary tests for release cut off

tox.ini only affects releasenote geneneration thus any change in that
file doesn't need puppet tests.
Also, .gitreview doesn't affect puppet functinality so we can skip
most of the tests.

This change also fixes some minor inconsisntencies about ignored files
between jobs.

Change-Id: I86c3643275abd9db5933a22109d6c574c90c0f10
This commit is contained in:
Takashi Kajinami 2020-10-13 00:53:41 +09:00
parent f0797c0f26
commit 1914b7ed1e
4 changed files with 29 additions and 0 deletions

View File

@ -67,9 +67,11 @@
- ^requirements.txt$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
roles:
- zuul: zuul/zuul-jobs
# NOTE(tobias-urdin): The ceph variable must be provided with a default here
@ -105,9 +107,11 @@
- ^requirements.txt$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
- job:
name: puppet-openstack-unit-base
@ -126,9 +130,11 @@
- ^test-requirements.txt$
- ^spec/acceptance/.*$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
# TODO(tobias-urdin): Remove when we use rspec-puppet 2.7.1
vars:
rspec_puppet_version: '~> 2.3.0'
@ -146,11 +152,14 @@
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^requirements.txt$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
# TODO(tobias-urdin): Remove when we use rspec-puppet 2.7.1
vars:
rspec_puppet_version: '~> 2.3.0'

View File

@ -4,11 +4,19 @@
parent: puppet-openstack-module-base
run: playbooks/run-lint-tests.yaml
irrelevant-files:
- ^.*\.md$
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^requirements.txt$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitignore$
- ^.gitreview$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
- job:
name: puppet-openstack-syntax-6-ubuntu-bionic
@ -39,6 +47,10 @@
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitignore$
- ^.gitreview$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
- job:
name: puppet-openstack-libraries-puppet-syntax-6-ubuntu-bionic

View File

@ -19,9 +19,11 @@
- ^test-requirements.txt$
- ^metadata.json$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
- job:
name: puppet-openstack-litmus-module-base

View File

@ -11,11 +11,14 @@
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^requirements.txt$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
- project-template:
name: tripleo-puppet-undercloud
@ -37,11 +40,14 @@
- ^metadata.json$
- ^releasenotes/.*$
- ^spec/.*$
- ^requirements.txt$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitreview$
- ^.gitignore$
- ^setup.cfg$
- ^setup.py$
- ^tox.ini$
- job:
name: tripleo-puppet-ci-centos-8-standalone