Skip to content

Commit 01eb4bf

Browse files
committed
(maint) - PDK update
1 parent dddac75 commit 01eb4bf

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
ref: ${{ github.ref }}
3939
clean: true
4040
- name: "PDK Build"
41-
uses: docker://puppet/pdk:2.1.0.0
41+
uses: docker://puppet/pdk:nightly
4242
with:
4343
args: 'build'
4444
- name: "Push to Forge"
45-
uses: docker://puppet/pdk:2.1.0.0
45+
uses: docker://puppet/pdk:nightly
4646
with:
4747
args: 'release publish --forge-token ${{ secrets.FORGE_API_KEY }} --force'

.pdkignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
/inventory.yaml
2828
/spec/fixtures/litmus_inventory.yaml
2929
/appveyor.yml
30+
/.editorconfig
3031
/.fixtures.yml
3132
/Gemfile
3233
/.gitattributes

.sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ Gemfile:
4646
- gem: rspec-retry
4747
version: '= 0.4.5'
4848
platforms: ruby
49+
- gem: github_changelog_generator

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ group :development do
2525
gem "puppet-module-win-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
2626
gem "puppet-module-win-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
2727
gem "rspec-retry", '= 0.4.5', require: false, platforms: [:ruby]
28+
gem "github_changelog_generator", require: false
2829
end
2930
group :system_tests do
3031
gem "puppet-module-posix-system-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@
8484
}
8585
],
8686
"template-url": "https://github.com/puppetlabs/pdk-templates.git#main",
87-
"template-ref": "heads/main-0-ge04486b",
87+
"template-ref": "heads/main-0-gdd6e237",
8888
"pdk-version": "2.1.0"
8989
}

spec/spec_helper.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@
4747
c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
4848
c.after(:suite) do
4949
end
50+
51+
# Filter backtrace noise
52+
backtrace_exclusion_patterns = [
53+
%r{spec_helper},
54+
%r{gems},
55+
]
56+
57+
if c.respond_to?(:backtrace_exclusion_patterns)
58+
c.backtrace_exclusion_patterns = backtrace_exclusion_patterns
59+
elsif c.respond_to?(:backtrace_clean_patterns)
60+
c.backtrace_clean_patterns = backtrace_exclusion_patterns
61+
end
5062
end
5163

5264
# Ensures that a module is defined

0 commit comments

Comments
 (0)