r10k 4.0.1 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05d094f24e1da891308bda6d4589351f1c2e1ba16b1efd8c97c5611414df0ee8
4
- data.tar.gz: eaa7e2f7843cbb445a4619fdd30c923a289838a5884c07a19c4da4f2f5912293
3
+ metadata.gz: 92e0f24af6c95c877f99c222382ee64cebc7ef588e054e4f63104b5d7a13c7fa
4
+ data.tar.gz: f9798d8056373adcbd3810e1e1c147496b0cf651a61c8c1fdf0b6df5f429e63f
5
5
  SHA512:
6
- metadata.gz: afa0f4daefb75c0b8c954b27b94a53f634616d7339e18d55f96ad19b26b3e486feee0b8bf41ee2801b516451412b0d5ea8d7a81444adb03909b364b243cca121
7
- data.tar.gz: b49551e056b22522ffc8c7778559059830aec6278cec7b37e7f4fc990be57f547a2922306e79a3b24f9bf5d8b887d8cb6c75bafcd357bb632a04ca6d8683ea14
6
+ metadata.gz: 04c0b9f93fd3fa51f995148fc53d335889e564e52f1bfa8ab746f4fccd71f9165ab40cb62f402c437b11d956890457b3fd59fd05cb86eac3971e7e24c153bfd0
7
+ data.tar.gz: bc206f67eee547bf511737f90343cf6f684e5700a6f9326cc9a285fe356520c46922dbece4f7e90e5263d1f02c10bc55901381788def071b9260a20dad276d6f
data/CHANGELOG.mkd CHANGED
@@ -4,6 +4,14 @@ CHANGELOG
4
4
  Unreleased
5
5
  ----------
6
6
 
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
+
7
15
  4.0.1
8
16
  -----
9
17
 
@@ -20,8 +28,15 @@ Unreleased
20
28
  - (RK-386) Remove deprecated `bare` environment type. [#1235](https://github.com/puppetlabs/r10k/issues/1235)
21
29
 
22
30
 
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
+
23
37
  3.16.0
24
38
  ------
39
+
25
40
  - Emit more debug output when modules fail to sync [#1347](https://github.com/puppetlabs/r10k/pull/1347)
26
41
  - Update GitHub Actions & introduce dependabot [#1337](https://github.com/puppetlabs/r10k/pull/1337)
27
42
  - Update R10K proxy usage to follow newer rugged best practices [PE-35980](https://tickets.puppet.com/browse/PE-35980)
@@ -29,19 +44,23 @@ Unreleased
29
44
 
30
45
  3.15.4
31
46
  ------
47
+
32
48
  - Pin dependencies to maintain support for old Ruby versions [#1329](https://github.com/puppetlabs/r10k/pull/1329)
33
49
 
34
50
  3.15.3
35
51
  ------
52
+
36
53
  - Fix dirty working copy debug logging [#1321](https://github.com/puppetlabs/r10k/pull/1321)
37
54
  - Allow gettext-setup < 2 for compatibility with Ruby 3.2 and Puppet 8 [#1325](https://github.com/puppetlabs/r10k/pull/1325)
38
55
 
39
56
  3.15.2
40
57
  ------
58
+
41
59
  - Implement exclude regex for puppetfile install [#1248](https://github.com/puppetlabs/r10k/issues/1248)
42
60
 
43
61
  3.15.1
44
62
  ------
63
+
45
64
  - Add TOC to configuration docs [#1298](https://github.com/puppetlabs/r10k/issues/1298)
46
65
  - Remove the spec folder from gemspec [#1316](https://github.com/puppetlabs/r10k/issues/1316)
47
66
 
data/CODEOWNERS CHANGED
@@ -1,2 +1 @@
1
- # This repo is owned by the dumpling team
2
- * @puppetlabs/dumpling
1
+ * @puppetlabs/dumpling @puppetlabs/skeletor
data/integration/Gemfile CHANGED
@@ -11,7 +11,7 @@ def location_for(place, fake_version = nil)
11
11
  end
12
12
 
13
13
  gem 'beaker', *location_for(ENV['BEAKER_VERSION'] || '~> 4.5')
14
- gem 'beaker-pe', '~> 2.0'
14
+ gem 'beaker-pe', '~> 3.0'
15
15
  gem 'beaker-answers'
16
16
  gem 'beaker-hostgenerator', *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || '~> 1.1')
17
17
  gem 'beaker-abs', *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.4')
data/integration/Rakefile CHANGED
@@ -69,7 +69,7 @@ rototiller_task :beaker_hostgenerator do |t|
69
69
  # This is a hack :(
70
70
  t.add_flag(:name => '', :default => 'centos7-64mdca-64.fa', :override_env => 'TEST_TARGET')
71
71
 
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')
73
73
  end
74
74
  end
75
75
 
@@ -4,3 +4,6 @@ test_name 'CODEMGMT-20 - C48 - Install Puppet Enterprise'
4
4
 
5
5
  step 'Install PE'
6
6
  install_pe
7
+
8
+ step 'Stop puppet service to avoid running into existing agent runs'
9
+ on(hosts, puppet('resource service puppet ensure=stopped'))
@@ -104,8 +104,11 @@ module R10K
104
104
  @existing_module_versions_by_name = @existing_module_metadata.map {|mod| [ mod.name, mod.version ] }.to_h
105
105
  empty_load_output.merge(modules: @existing_module_metadata)
106
106
 
107
- rescue SyntaxError, LoadError, ArgumentError, NameError => e
107
+ rescue ScriptError, StandardError => e
108
108
  logger.warn _("Unable to preload Puppetfile because of %{msg}" % { msg: e.message })
109
+
110
+ @existing_module_metadata = []
111
+ @existing_module_versions_by_name = {}
109
112
  end
110
113
 
111
114
  def add_module_metadata(name, info)
data/lib/r10k/version.rb CHANGED
@@ -2,5 +2,5 @@ module R10K
2
2
  # When updating to a new major (X) or minor (Y) version, include `#major` or
3
3
  # `#minor` (respectively) in your commit message to trigger the appropriate
4
4
  # release. Otherwise, a new patch (Z) version will be released.
5
- VERSION = '4.0.1'
5
+ VERSION = '4.0.2'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2