File tree 6 files changed +18
-6
lines changed
6 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : " Auto release"
2
2
3
3
on :
4
- schedule :
5
- - cron : ' 0 3 * * 6'
6
4
workflow_dispatch :
7
5
8
6
env :
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ jobs:
38
38
ref : ${{ github.ref }}
39
39
clean : true
40
40
- name : " PDK Build"
41
- uses : docker://puppet/pdk:2.1.0.0
41
+ uses : docker://puppet/pdk:nightly
42
42
with :
43
43
args : ' build'
44
44
- name : " Push to Forge"
45
- uses : docker://puppet/pdk:2.1.0.0
45
+ uses : docker://puppet/pdk:nightly
46
46
with :
47
47
args : ' release publish --forge-token ${{ secrets.FORGE_API_KEY }} --force'
Original file line number Diff line number Diff line change 83
83
env :
84
84
BUILDEVENT_FILE : ' ../buildevents.txt'
85
85
PUPPET_GEM_VERSION : ${{ matrix.puppet_version }}
86
+ FACTER_GEM_VERSION : ' https://github.com/puppetlabs/facter#main'
86
87
87
88
steps :
88
89
- run : |
Original file line number Diff line number Diff line change 27
27
/inventory.yaml
28
28
/spec/fixtures/litmus_inventory.yaml
29
29
/appveyor.yml
30
+ /.editorconfig
30
31
/.fixtures.yml
31
32
/Gemfile
32
33
/.gitattributes
Original file line number Diff line number Diff line change 83
83
"version_requirement" : " >= 6.0.0 < 8.0.0"
84
84
}
85
85
],
86
- "pdk-version" : " 2.0 .0" ,
86
+ "pdk-version" : " 2.1 .0" ,
87
87
"template-url" : " https://github.com/puppetlabs/pdk-templates#main" ,
88
- "template-ref" : " heads/main-0-ge04486b "
88
+ "template-ref" : " heads/main-0-g03daa92 "
89
89
}
Original file line number Diff line number Diff line change 48
48
c . after ( :suite ) do
49
49
RSpec ::Puppet ::Coverage . report! ( 0 )
50
50
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
51
63
end
52
64
53
65
# Ensures that a module is defined
You can’t perform that action at this time.
0 commit comments