From c904bd19f5b66eaba5a1edd17fc510717c7e5351 Mon Sep 17 00:00:00 2001 From: Daniel Carabas Date: Mon, 7 Jun 2021 13:07:16 +0300 Subject: [PATCH] (maint) pdksync - PDK Update --- .github/workflows/auto_release.yml | 2 -- Rakefile | 1 - metadata.json | 2 +- spec/spec_helper.rb | 12 ++++++++++++ 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index d15d148d99..e028483600 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -1,8 +1,6 @@ name: "Auto release" on: - schedule: - - cron: '0 3 * * 6' workflow_dispatch: env: diff --git a/Rakefile b/Rakefile index 333511b915..55dc3ab1ed 100644 --- a/Rakefile +++ b/Rakefile @@ -55,7 +55,6 @@ if Bundler.rubygems.find_name('github_changelog_generator').any? config.add_pr_wo_labels = true config.issues = false config.merge_prefix = "### UNCATEGORIZED PRS; LABEL THEM ON GITHUB" - config.max_issues = 500 config.configure_sections = { "Changed" => { "prefix" => "### Changed", diff --git a/metadata.json b/metadata.json index 1cd01803cf..f39afc2873 100644 --- a/metadata.json +++ b/metadata.json @@ -82,5 +82,5 @@ "description": "Module for Apache configuration", "pdk-version": "2.1.0", "template-url": "https://github.com/puppetlabs/pdk-templates.git#main", - "template-ref": "heads/main-0-g135398a" + "template-ref": "heads/main-0-g03daa92" } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 16764b6ff1..07db73426e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,6 +48,18 @@ c.after(:suite) do RSpec::Puppet::Coverage.report!(0) end + + # Filter backtrace noise + backtrace_exclusion_patterns = [ + %r{spec_helper}, + %r{gems}, + ] + + if c.respond_to?(:backtrace_exclusion_patterns) + c.backtrace_exclusion_patterns = backtrace_exclusion_patterns + elsif c.respond_to?(:backtrace_clean_patterns) + c.backtrace_clean_patterns = backtrace_exclusion_patterns + end end # Ensures that a module is defined