File tree Expand file tree Collapse file tree 6 files changed +18
-6
lines changed Expand file tree Collapse file tree 6 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 11name : " Auto release"
22
33on :
4- schedule :
5- - cron : ' 0 3 * * 6'
64 workflow_dispatch :
75
86env :
Original file line number Diff line number Diff 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'
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 2727/inventory.yaml
2828/spec/fixtures/litmus_inventory.yaml
2929/appveyor.yml
30+ /.editorconfig
3031/.fixtures.yml
3132/Gemfile
3233/.gitattributes
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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
5264end
5365
5466# Ensures that a module is defined
You can’t perform that action at this time.
0 commit comments