File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3232 BOLT_GEM : true
3333 BOLT_DISABLE_ANALYTICS : true
3434 LANG : en_US.UTF-8
35+ PUPPET_FORGE_TOKEN : ${{ secrets.PUPPET_FORGE_API_TOKEN }}
36+ BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM : forge-key:${{ secrets.PUPPET_FORGE_API_TOKEN }}
3537 strategy :
3638 fail-fast : false
3739 matrix :
Original file line number Diff line number Diff line change 5555puppet_version = ENV [ 'PUPPET_GEM_VERSION' ]
5656facter_version = ENV [ 'FACTER_GEM_VERSION' ]
5757hiera_version = ENV [ 'HIERA_GEM_VERSION' ]
58+ bolt_version = ENV . fetch ( 'BOLT_GEM_VERSION' , nil )
5859
5960gems = { }
6061
Original file line number Diff line number Diff line change 66function peadm::assert_supported_bolt_version (
77 # No arguments
88) >> Struct[{ ' supported' => Boolean }] {
9- $supported_bolt_version = ' >= 3.17.0 < 5.0.0'
9+ $supported_bolt_version = ' >= 3.17.0 < 6.0.0'
10+ $current_bolt_version = peadm::bolt_version()
1011 $supported = (peadm::bolt_version() =~ SemVerRange($supported_bolt_version ))
12+
1113# lint:ignore:strict_indent
1214 unless $supported {
1315 fail(@(" REASON" /L))
1416 This version of puppetlabs-peadm requires Bolt version ${supported_bolt_version} .
1517
16- You are using Bolt version ${peadm::bolt_version() }.
18+ You are using Bolt version ${current_bolt_version } .
1719
1820 Please make sure you have a compatible Bolt version and try again.
1921
You can’t perform that action at this time.
0 commit comments