beaker-hostgenerator 1.2.5 → 1.2.10
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/.github/dependabot.yml +8 -0
- data/.travis.yml +10 -0
- data/lib/beaker-hostgenerator/data.rb +38 -11
- data/lib/beaker-hostgenerator/hypervisor/vagrant.rb +1 -1
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6e8e91fce4675f5adad6c7a0f4a853a8a8c1af4cf33c6f3932d1d8d55469bea
|
4
|
+
data.tar.gz: 775063d8a44fa06695ae651781fab90de3850144277d5bc14c7371929b146e7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6538e676d55d51bdf8e8d6f0f2c73857ddfff3d183b87b4ebdc5a18403b97ac35fcc6335c0750826274b779b809708c124b70b84fa496b51468a07de3b33db6f
|
7
|
+
data.tar.gz: 2ee762fbb5585b54a079da11adf60f1cef9391c9ce965d8b36fdab54f22dba76baa7bb61db65d7c14e8c7be822e557269c70bb07f5e15c1f8c34db4c418b163a
|
data/.travis.yml
ADDED
@@ -13,7 +13,7 @@ module BeakerHostGenerator
|
|
13
13
|
# `include BeakerHostGenerator::Data` and then `<function>()`.
|
14
14
|
module Data
|
15
15
|
module_function
|
16
|
-
|
16
|
+
MAIN_PE_VERSION=2021.0
|
17
17
|
PE_TARBALL_SERVER="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local"
|
18
18
|
|
19
19
|
def pe_version
|
@@ -33,7 +33,7 @@ module BeakerHostGenerator
|
|
33
33
|
then "#{PE_TARBALL_SERVER}/archives/releases/#{version}/"
|
34
34
|
when /#{base_regex}-rc\d+\Z/
|
35
35
|
then "#{PE_TARBALL_SERVER}/archives/internal/%s/"
|
36
|
-
when /#{base_regex}-.*
|
36
|
+
when /#{base_regex}-.*(PEZ|pez)_.*/
|
37
37
|
then "#{PE_TARBALL_SERVER}/%s/feature/ci-ready"
|
38
38
|
when /#{base_regex}-.*/
|
39
39
|
then "#{PE_TARBALL_SERVER}/%s/ci-ready"
|
@@ -41,15 +41,12 @@ module BeakerHostGenerator
|
|
41
41
|
''
|
42
42
|
end
|
43
43
|
|
44
|
-
|
45
|
-
|
44
|
+
pe_family = $1
|
45
|
+
gem_version = Gem::Version.new(pe_family)
|
46
|
+
if(gem_version < Gem::Version.new("#{MAIN_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/)
|
47
|
+
pe_branch = pe_family
|
46
48
|
else
|
47
|
-
|
48
|
-
if(version =~ /.*(PEZ|pez)_.*/)
|
49
|
-
pe_branch = "master/feature"
|
50
|
-
else
|
51
|
-
pe_branch = 'master'
|
52
|
-
end
|
49
|
+
pe_branch = 'main'
|
53
50
|
end
|
54
51
|
|
55
52
|
return sprintf(source, ("#{pe_branch}" || ''))
|
@@ -246,7 +243,7 @@ module BeakerHostGenerator
|
|
246
243
|
:docker => {
|
247
244
|
'docker_image_commands' => [
|
248
245
|
'cp /bin/true /sbin/agetty',
|
249
|
-
'yum install -y crontabs initscripts iproute openssl wget which'
|
246
|
+
'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
|
250
247
|
]
|
251
248
|
},
|
252
249
|
:vmpooler => {
|
@@ -772,6 +769,15 @@ module BeakerHostGenerator
|
|
772
769
|
'template' => 'fedora-31-x86_64'
|
773
770
|
}
|
774
771
|
},
|
772
|
+
'fedora32-64' => {
|
773
|
+
:general => {
|
774
|
+
'platform' => 'fedora-32-x86_64',
|
775
|
+
'packaging_platform' => 'fedora-32-x86_64'
|
776
|
+
},
|
777
|
+
:vmpooler => {
|
778
|
+
'template' => 'fedora-32-x86_64'
|
779
|
+
}
|
780
|
+
},
|
775
781
|
'huaweios6-POWER' => {
|
776
782
|
:general => {
|
777
783
|
'platform' => 'huaweios-6-powerpc'
|
@@ -1039,6 +1045,18 @@ module BeakerHostGenerator
|
|
1039
1045
|
'template' => 'redhat-8-x86_64'
|
1040
1046
|
}
|
1041
1047
|
},
|
1048
|
+
'redhat8-AARCH64' => {
|
1049
|
+
:general => {
|
1050
|
+
'platform' => 'el-8-aarch64',
|
1051
|
+
'packaging_platform' => 'el-8-aarch64'
|
1052
|
+
},
|
1053
|
+
:abs => {
|
1054
|
+
'template' => 'redhat-8-arm64'
|
1055
|
+
},
|
1056
|
+
:vmpooler => {
|
1057
|
+
'template' => 'redhat-8-x86_64'
|
1058
|
+
}
|
1059
|
+
},
|
1042
1060
|
'scientific5-32' => {
|
1043
1061
|
:general => {
|
1044
1062
|
'platform' => 'el-5-i386',
|
@@ -1448,6 +1466,15 @@ module BeakerHostGenerator
|
|
1448
1466
|
'template' => 'ubuntu-2004-x86_64'
|
1449
1467
|
}
|
1450
1468
|
},
|
1469
|
+
'ubuntu2004-AARCH64' => {
|
1470
|
+
:general => {
|
1471
|
+
'platform' => 'ubuntu-20.04-aarch64',
|
1472
|
+
'packaging_platform' => 'ubuntu-20.04-aarch64'
|
1473
|
+
},
|
1474
|
+
:abs => {
|
1475
|
+
'template' => 'ubuntu-2004-arm64'
|
1476
|
+
},
|
1477
|
+
},
|
1451
1478
|
'vro6-64' => {
|
1452
1479
|
:general => {
|
1453
1480
|
'platform' => 'sles-11-x86_64',
|
@@ -11,7 +11,7 @@ module BeakerHostGenerator
|
|
11
11
|
if node_info['ostype'] =~ /^centos/
|
12
12
|
base_config['box'] = node_info['ostype'].sub(/(\d)/, '/\1')
|
13
13
|
elsif node_info['ostype'] =~ /^fedora/
|
14
|
-
base_config['box'] = node_info['ostype'].sub(/(\d)/, '/\1') + 'cloud-base'
|
14
|
+
base_config['box'] = node_info['ostype'].sub(/(\d)/, '/\1') + '-cloud-base'
|
15
15
|
else
|
16
16
|
base_config['box'] = "generic/#{node_info['ostype']}"
|
17
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-hostgenerator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Branan Purvine-Riley
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest
|
@@ -184,9 +184,11 @@ executables:
|
|
184
184
|
extensions: []
|
185
185
|
extra_rdoc_files: []
|
186
186
|
files:
|
187
|
+
- ".github/dependabot.yml"
|
187
188
|
- ".gitignore"
|
188
189
|
- ".rspec"
|
189
190
|
- ".simplecov"
|
191
|
+
- ".travis.yml"
|
190
192
|
- CHANGELOG.md
|
191
193
|
- CODEOWNERS
|
192
194
|
- CONTRIBUTING.md
|
@@ -233,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
235
|
- !ruby/object:Gem::Version
|
234
236
|
version: '0'
|
235
237
|
requirements: []
|
236
|
-
rubygems_version: 3.0.
|
238
|
+
rubygems_version: 3.0.8
|
237
239
|
signing_key:
|
238
240
|
specification_version: 4
|
239
241
|
summary: Beaker Host Generator Utility
|