From abfda09ef9d96ae52a036121386bf104aa59dd0c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 1 Jun 2021 16:05:09 -0700 Subject: [PATCH] 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 --- zuul.d/puppet.yaml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/zuul.d/puppet.yaml b/zuul.d/puppet.yaml index bdc0d3883f..586a42fab1 100644 --- a/zuul.d/puppet.yaml +++ b/zuul.d/puppet.yaml @@ -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