Skip to content

Commit 050a2eb

Browse files
author
Daniel Carabas
committed
(maint) pdksync - PDK Update
1 parent d0f24f9 commit 050a2eb

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

.github/workflows/auto_release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: "Auto release"
22

33
on:
4-
schedule:
5-
- cron: '0 3 * * 6'
64
workflow_dispatch:
75

86
env:

.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'

.github/workflows/spec.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
env:
8484
BUILDEVENT_FILE: '../buildevents.txt'
8585
PUPPET_GEM_VERSION: ${{ matrix.puppet_version }}
86+
FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main'
8687

8788
steps:
8889
- run: |

.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

metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"version_requirement": ">= 6.0.0 < 8.0.0"
5454
}
5555
],
56-
"pdk-version": "2.0.0",
56+
"pdk-version": "2.1.0",
5757
"template-url": "https://github.com/puppetlabs/pdk-templates.git#main",
58-
"template-ref": "heads/main-0-ge04486b"
58+
"template-ref": "heads/main-0-g03daa92"
5959
}

spec/spec_helper.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@
4949
c.after(:suite) do
5050
RSpec::Puppet::Coverage.report!(0)
5151
end
52+
53+
# Filter backtrace noise
54+
backtrace_exclusion_patterns = [
55+
%r{spec_helper},
56+
%r{gems},
57+
]
58+
59+
if c.respond_to?(:backtrace_exclusion_patterns)
60+
c.backtrace_exclusion_patterns = backtrace_exclusion_patterns
61+
elsif c.respond_to?(:backtrace_clean_patterns)
62+
c.backtrace_clean_patterns = backtrace_exclusion_patterns
63+
end
5264
end
5365

5466
# Ensures that a module is defined

0 commit comments

Comments
 (0)