Skip to content

Commit 3070e72

Browse files
authored
Merge branch 'puppetlabs:main' into fetch_tags
2 parents d6ae45d + 04b594d commit 3070e72

File tree

7 files changed

+30
-6
lines changed

7 files changed

+30
-6
lines changed

CHANGELOG.mkd

+19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ CHANGELOG
44
Unreleased
55
----------
66

7+
4.0.2
8+
-----
9+
10+
- Make metadata loading during incremental deploys more robust [PE-34917](https://perforce.atlassian.net/browse/PE-34917)
11+
- Use the production forge for integration testing
12+
- (maint) Update beaker-pe to 3 [#1376](https://github.com/puppetlabs/r10k/pull/1376)
13+
- (maint) Stop puppet service during tests [#1377](https://github.com/puppetlabs/r10k/pull/1377)
14+
715
4.0.1
816
-----
917

@@ -20,28 +28,39 @@ Unreleased
2028
- (RK-386) Remove deprecated `bare` environment type. [#1235](https://github.com/puppetlabs/r10k/issues/1235)
2129

2230

31+
3.16.1
32+
------
33+
34+
- Make metadata loading during incremental deploys more robust [PE-34917](https://perforce.atlassian.net/browse/PE-34917)
35+
- Use the production forge for integration testing
36+
2337
3.16.0
2438
------
39+
2540
- Emit more debug output when modules fail to sync [#1347](https://github.com/puppetlabs/r10k/pull/1347)
2641
- Update GitHub Actions & introduce dependabot [#1337](https://github.com/puppetlabs/r10k/pull/1337)
2742
- Update R10K proxy usage to follow newer rugged best practices [PE-35980](https://tickets.puppet.com/browse/PE-35980)
2843
- Update Acceptance tests to be compatible with Puppet 8 [#1349](https://github.com/puppetlabs/r10k/pull/1349)
2944

3045
3.15.4
3146
------
47+
3248
- Pin dependencies to maintain support for old Ruby versions [#1329](https://github.com/puppetlabs/r10k/pull/1329)
3349

3450
3.15.3
3551
------
52+
3653
- Fix dirty working copy debug logging [#1321](https://github.com/puppetlabs/r10k/pull/1321)
3754
- Allow gettext-setup < 2 for compatibility with Ruby 3.2 and Puppet 8 [#1325](https://github.com/puppetlabs/r10k/pull/1325)
3855

3956
3.15.2
4057
------
58+
4159
- Implement exclude regex for puppetfile install [#1248](https://github.com/puppetlabs/r10k/issues/1248)
4260

4361
3.15.1
4462
------
63+
4564
- Add TOC to configuration docs [#1298](https://github.com/puppetlabs/r10k/issues/1298)
4665
- Remove the spec folder from gemspec [#1316](https://github.com/puppetlabs/r10k/issues/1316)
4766

CODEOWNERS

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# This repo is owned by the dumpling team
2-
* @puppetlabs/dumpling
1+
* @puppetlabs/dumpling @puppetlabs/skeletor

integration/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def location_for(place, fake_version = nil)
1111
end
1212

1313
gem 'beaker', *location_for(ENV['BEAKER_VERSION'] || '~> 4.5')
14-
gem 'beaker-pe', '~> 2.0'
14+
gem 'beaker-pe', '~> 3.0'
1515
gem 'beaker-answers'
1616
gem 'beaker-hostgenerator', *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || '~> 1.1')
1717
gem 'beaker-abs', *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.4')

integration/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ rototiller_task :beaker_hostgenerator do |t|
6969
# This is a hack :(
7070
t.add_flag(:name => '', :default => 'centos7-64mdca-64.fa', :override_env => 'TEST_TARGET')
7171

72-
t.add_flag(:name => '--global-config', :default => '{forge_host=forge-aio01-petest.puppetlabs.com}', :override_env => 'BHG_GLOBAL_CONFIG')
72+
t.add_flag(:name => '--global-config', :default => '{forge_host=forgeapi.puppet.com}', :override_env => 'BHG_GLOBAL_CONFIG')
7373
end
7474
end
7575

integration/pre-suite/00_pe_install.rb

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44

55
step 'Install PE'
66
install_pe
7+
8+
step 'Stop puppet service to avoid running into existing agent runs'
9+
on(hosts, puppet('resource service puppet ensure=stopped'))

lib/r10k/module_loader/puppetfile.rb

+4-1
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,11 @@ def load_metadata!
104104
@existing_module_versions_by_name = @existing_module_metadata.map {|mod| [ mod.name, mod.version ] }.to_h
105105
empty_load_output.merge(modules: @existing_module_metadata)
106106

107-
rescue SyntaxError, LoadError, ArgumentError, NameError => e
107+
rescue ScriptError, StandardError => e
108108
logger.warn _("Unable to preload Puppetfile because of %{msg}" % { msg: e.message })
109+
110+
@existing_module_metadata = []
111+
@existing_module_versions_by_name = {}
109112
end
110113

111114
def add_module_metadata(name, info)

lib/r10k/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module R10K
22
# When updating to a new major (X) or minor (Y) version, include `#major` or
33
# `#minor` (respectively) in your commit message to trigger the appropriate
44
# release. Otherwise, a new patch (Z) version will be released.
5-
VERSION = '4.0.1'
5+
VERSION = '4.0.2'
66
end

0 commit comments

Comments
 (0)