Run the puppet apply job less often

Previously we had a very small irrelevant files list for the puppet
apply job. Switch that to a files: list and try to explicitly list all
of the things that might care about being tested with puppet.

The idea here is that we'll run puppet testing less often and only run
it when we need it.

Change-Id: I7001022c0cae5526a405c93a33c2e85eeea5b679
This commit is contained in:
Clark Boylan 2021-06-01 16:05:09 -07:00
parent 481b9cae76
commit abfda09ef9

View File

@ -53,9 +53,26 @@
pre-run: playbooks/zuul/infra-puppet-apply/pre.yaml
run: playbooks/zuul/infra-puppet-apply/run.yaml
post-run: playbooks/zuul/infra-puppet-apply/post.yaml
irrelevant-files:
- docker/.*
- playbooks/.*
files:
- Gemfile
- Rakefile
- modules.env
- install_modules.sh
- manifests/.*
- modules/.*
- roles/puppet-install/.*
- hiera/.*
- inventory/.*
- playbooks/install_puppet.yaml
- playbooks/remote_puppet_adhoc.yaml
- playbooks/remote_puppet_else.yaml
- playbooks/service-eavesdrop.yaml
- playbooks/update_puppet_version.yaml
- playbooks/roles/disable-puppet-agent/.*
- playbooks/roles/puppet-run/.*
- playbooks/roles/puppet-setup-ansible/.*
- playbooks/zuul/infra-puppet-apply/.*
- playbooks/zuul/templates/.*
- job:
name: system-config-puppet-beaker-rspec-infra