beaker-puppet 1.26.3 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -1
- data/lib/beaker-puppet/version.rb +1 -1
- data/setup/common/005_redhat_subscription_fix.rb +10 -0
- data/tasks/ci.rake +15 -9
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68502ef5f5e7277b97ce2192ef1d51f571d084e705e98d69f1f4a53e303fcac0
|
4
|
+
data.tar.gz: 3c3c471c33bf0481e6a3d8e44fdaabae4f5efec04377f56a66135d905995c043
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 036c6489dd3157d13fb07123dfc27dba5bf7ef1e6ac488f8230942072057a01fd9f32a36922747fc8e656562ffc88f967e0c54f7b4ca15dab9ba4ae6c2ce88dc
|
7
|
+
data.tar.gz: bca6b6878ed42eb9126af029381df3144c5c7e540ffafc07031c14d478e34212256ccf56dd4b9972852ef0f894616b7c1ed95e8b2c7a3f31587a223abbad03e5
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,19 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
## [1.
|
5
|
+
## [1.27.0](https://github.com/voxpupuli/beaker-puppet/tree/1.27.0) (2022-08-31)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.26.3...1.27.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- \(ITSYS-2543\) Adds workaround for EL8 PPCLE [\#198](https://github.com/voxpupuli/beaker-puppet/pull/198) ([mhashizume](https://github.com/mhashizume))
|
12
|
+
|
13
|
+
**Fixed bugs:**
|
14
|
+
|
15
|
+
- \(PA-4566\) Retry beaker exec if presuite completes [\#195](https://github.com/voxpupuli/beaker-puppet/pull/195) ([joshcooper](https://github.com/joshcooper))
|
16
|
+
|
17
|
+
## [1.26.3](https://github.com/voxpupuli/beaker-puppet/tree/1.26.3) (2022-08-09)
|
6
18
|
|
7
19
|
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.26.2...1.26.3)
|
8
20
|
|
@@ -10,6 +22,10 @@ All notable changes to this project will be documented in this file.
|
|
10
22
|
|
11
23
|
- Actually print the versions.txt file [\#193](https://github.com/voxpupuli/beaker-puppet/pull/193) ([joshcooper](https://github.com/joshcooper))
|
12
24
|
|
25
|
+
**Merged pull requests:**
|
26
|
+
|
27
|
+
- Release 1.26.3 [\#196](https://github.com/voxpupuli/beaker-puppet/pull/196) ([joshcooper](https://github.com/joshcooper))
|
28
|
+
|
13
29
|
## [1.26.2](https://github.com/voxpupuli/beaker-puppet/tree/1.26.2) (2022-05-31)
|
14
30
|
|
15
31
|
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.26.1...1.26.2)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
test_name 'Refresh Red Hat 8 subscription repository'
|
2
|
+
|
3
|
+
# Only need to run this on Red Hat Enterprise Linux 8 on little-endian PowerPC
|
4
|
+
skip_test 'Not Red Hat 8 PPCle' if ! hosts.any? { |host| host.platform == 'el-8-ppc64le' }
|
5
|
+
|
6
|
+
hosts.each do |host|
|
7
|
+
next unless host.platform == 'el-8-ppc64le'
|
8
|
+
|
9
|
+
on(host, '/usr/sbin/subscription-manager repos --disable rhel-8-for-ppc64le-baseos-rpms && /usr/sbin/subscription-manager repos --enable rhel-8-for-ppc64le-baseos-rpms')
|
10
|
+
end
|
data/tasks/ci.rake
CHANGED
@@ -285,17 +285,22 @@ def beaker_suite_retry(type)
|
|
285
285
|
beaker(:provision)
|
286
286
|
|
287
287
|
begin
|
288
|
-
json_results_file = Tempfile.new
|
289
|
-
|
290
288
|
beaker(:exec, 'pre-suite', '--preserve-state', '--pre-suite', pre_suites(type))
|
291
289
|
beaker(:exec, 'pre-suite', '--preserve-state')
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
puts
|
298
|
-
|
290
|
+
|
291
|
+
begin
|
292
|
+
json_results_file = Tempfile.new
|
293
|
+
beaker(:exec, ENV['TESTS'], '--test-results-file', json_results_file.path)
|
294
|
+
rescue RuntimeError => e
|
295
|
+
puts "ERROR: #{e.message}"
|
296
|
+
tests_to_rerun = JSON.load(File.read(json_results_file.path))
|
297
|
+
if tests_to_rerun.nil? || tests_to_rerun.empty?
|
298
|
+
raise e
|
299
|
+
else
|
300
|
+
puts '*** Retrying the following:'
|
301
|
+
puts tests_to_rerun.map { |spec| " #{spec}" }
|
302
|
+
beaker(:exec, tests_to_rerun.map { |str| "#{str}" }.join(',') )
|
303
|
+
end
|
299
304
|
end
|
300
305
|
ensure
|
301
306
|
beaker(:exec, 'post-suite')
|
@@ -312,6 +317,7 @@ def pre_suites(type)
|
|
312
317
|
[
|
313
318
|
"#{beaker_root}/setup/common/000-delete-puppet-when-none.rb",
|
314
319
|
"#{beaker_root}/setup/common/003_solaris_cert_fix.rb",
|
320
|
+
"#{beaker_root}/setup/common/005_redhat_subscription_fix.rb",
|
315
321
|
"#{beaker_root}/setup/aio/010_Install_Puppet_Agent.rb",
|
316
322
|
"#{beaker_root}/setup/common/011_Install_Puppet_Server.rb",
|
317
323
|
"#{beaker_root}/setup/common/012_Finalize_Installs.rb",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -221,6 +221,7 @@ files:
|
|
221
221
|
- setup/aio/010_Install_Puppet_Agent.rb
|
222
222
|
- setup/common/000-delete-puppet-when-none.rb
|
223
223
|
- setup/common/003_solaris_cert_fix.rb
|
224
|
+
- setup/common/005_redhat_subscription_fix.rb
|
224
225
|
- setup/common/011_Install_Puppet_Server.rb
|
225
226
|
- setup/common/012_Finalize_Installs.rb
|
226
227
|
- setup/common/020_InstallCumulusModules.rb
|