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 6565 }
6666 ],
6767 "description" : " Tasks that manipulates a puppet configuration file" ,
68- "pdk-version" : " 2.0 .0" ,
68+ "pdk-version" : " 2.1 .0" ,
6969 "template-url" : " https://github.com/puppetlabs/pdk-templates.git#main" ,
70- "template-ref" : " heads/main-0-ge04486b "
70+ "template-ref" : " heads/main-0-g03daa92 "
7171}
Original file line number Diff line number Diff line change 4848 c . after ( :suite ) do
4949 RSpec ::Puppet ::Coverage . report! ( 0 )
5050 end
51+
52+ # Filter backtrace noise
53+ backtrace_exclusion_patterns = [
54+ %r{spec_helper} ,
55+ %r{gems} ,
56+ ]
57+
58+ if c . respond_to? ( :backtrace_exclusion_patterns )
59+ c . backtrace_exclusion_patterns = backtrace_exclusion_patterns
60+ elsif c . respond_to? ( :backtrace_clean_patterns )
61+ c . backtrace_clean_patterns = backtrace_exclusion_patterns
62+ end
5163end
5264
5365# Ensures that a module is defined
You can’t perform that action at this time.
0 commit comments