beaker-hostgenerator 1.2.8 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +22 -0
- data/.github/workflows/test.yml +27 -0
- data/CHANGELOG.md +2008 -308
- data/CODEOWNERS +0 -1
- data/Gemfile +5 -1
- data/HISTORY.md +53 -26
- data/README.md +14 -0
- data/Rakefile +24 -0
- data/beaker-hostgenerator.gemspec +2 -2
- data/lib/beaker-hostgenerator/data.rb +119 -220
- data/lib/beaker-hostgenerator/generator.rb +4 -4
- data/lib/beaker-hostgenerator/hypervisor.rb +1 -1
- data/lib/beaker-hostgenerator/hypervisor/abs.rb +11 -2
- data/lib/beaker-hostgenerator/hypervisor/docker.rb +6 -1
- data/lib/beaker-hostgenerator/hypervisor/unknown.rb +1 -1
- data/lib/beaker-hostgenerator/hypervisor/vagrant.rb +1 -1
- data/lib/beaker-hostgenerator/hypervisor/vmpooler.rb +8 -1
- data/lib/beaker-hostgenerator/parser.rb +3 -3
- data/lib/beaker-hostgenerator/util.rb +3 -3
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +11 -10
- data/.travis.yml +0 -10
data/CODEOWNERS
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
* @puppetlabs/beaker
|
data/Gemfile
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
-
source ENV['GEM_SOURCE'] ||
|
1
|
+
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
5
|
if File.exists? "#{__FILE__}.local"
|
6
6
|
eval(File.read("#{__FILE__}.local"), binding)
|
7
7
|
end
|
8
|
+
|
9
|
+
group :release do
|
10
|
+
gem 'github_changelog_generator', :require => false
|
11
|
+
end
|
data/HISTORY.md
CHANGED
@@ -1,29 +1,56 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
1
|
+
## [1.1.26](https://github.com/voxpupuli/modulesync/tree/1.1.26) (2019-02-19)
|
2
|
+
- Add platform
|
3
|
+
- debian10-64
|
4
|
+
- debian10-32
|
5
|
+
- Change amazon7-ARM64 to use el-7-aarch64 platform
|
6
|
+
|
7
|
+
## [1.1.25] - 2019-01-07
|
8
|
+
- Fix --hypervisor vagrant_libvirt
|
9
|
+
|
10
|
+
## [1.1.24] - 2019-01-03
|
11
|
+
- Add platform:
|
12
|
+
- amazon7-ARM64
|
13
|
+
|
14
|
+
## [1.1.23] - 2018-12-13
|
15
|
+
- Add platforms:
|
16
|
+
- redhat8-64
|
17
|
+
- osx1014-64
|
18
|
+
|
19
|
+
## [1.1.22] - 2018-11-21
|
20
|
+
- Add vagrant hypervisor for debian plaforms
|
21
|
+
|
22
|
+
## [1.1.21] - 2018-11-19
|
23
|
+
- Disable getty when using docker
|
24
|
+
|
25
|
+
## [1.1.20] - 2018-11-14
|
26
|
+
- Add gnupg to docker_image_commands for debian9-64
|
27
|
+
- Add platform:
|
28
|
+
- fedora29-64
|
29
|
+
|
30
|
+
## [1.1.19] - 2018-10-18
|
31
|
+
- Add platforms:
|
32
|
+
- solaris114-32
|
33
|
+
- solaris114-64
|
34
|
+
|
35
|
+
## [1.1.18] - 2018-10-10
|
36
|
+
- Add platform:
|
37
|
+
- ubuntu1810-64
|
38
|
+
|
39
|
+
## [1.1.17] - 2018-10-05
|
40
|
+
- Add platforms:
|
41
|
+
- windows2019_core-64
|
42
|
+
- windows2019_core-6432
|
43
|
+
|
44
|
+
## [1.1.16] - 2018-09-04
|
45
|
+
- Install iproute2 on ubuntu18.04 for containers
|
46
|
+
|
47
|
+
## [1.1.15] - 2018-08-16
|
48
|
+
- Add platforms:
|
49
|
+
- panos61-64
|
50
|
+
- panos71-64
|
25
51
|
## Details
|
26
|
-
|
52
|
+
|
53
|
+
### 0.9.0 - 7 Jun, 2017 (06b6a0da)
|
27
54
|
|
28
55
|
* (GEM) update beaker-hostgenerator version to 0.9.0 (06b6a0da)
|
29
56
|
|
@@ -1747,6 +1774,6 @@ This commit updates the code to use the new constant name.
|
|
1747
1774
|
|
1748
1775
|
* README typo fixed (ba88e07e)
|
1749
1776
|
|
1750
|
-
###
|
1777
|
+
### 0.0.1 - 7 Oct, 2015 (d99251e6)
|
1751
1778
|
|
1752
1779
|
* Initial release.
|
data/README.md
CHANGED
@@ -453,6 +453,20 @@ contribute.
|
|
453
453
|
If you have questions or comments, please contact the Beaker team at the
|
454
454
|
`#puppet-dev` IRC channel on chat.freenode.org
|
455
455
|
|
456
|
+
## Make a new release
|
457
|
+
|
458
|
+
To make a new release:
|
459
|
+
|
460
|
+
* Switch to a new git branch
|
461
|
+
* Update `lib/beaker-hostgenerator/version.rb` to the new version
|
462
|
+
* export `CHANGELOG_GITHUB_TOKEN` with a GitHub access token
|
463
|
+
* run `bundle exec rake changelog`
|
464
|
+
* Review the CHANGELOG.md
|
465
|
+
* Create a PR
|
466
|
+
* Get it reviewed and merged
|
467
|
+
* Create a signed git tag with the same version number and push it
|
468
|
+
* GitHub actions will do the release
|
469
|
+
|
456
470
|
## License
|
457
471
|
|
458
472
|
`beaker-hostgenerator` is distributed under the
|
data/Rakefile
CHANGED
@@ -55,3 +55,27 @@ task 'test:spec' => ['test:spec:run', 'test:spec:minitest']
|
|
55
55
|
# global defaults
|
56
56
|
task :test => 'test:spec'
|
57
57
|
task :default => :test
|
58
|
+
|
59
|
+
begin
|
60
|
+
require 'github_changelog_generator/task'
|
61
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
62
|
+
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
63
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix modulesync skip-changelog]
|
64
|
+
config.user = 'voxpupuli'
|
65
|
+
config.project = 'beaker-hostgenerator'
|
66
|
+
config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
|
67
|
+
end
|
68
|
+
|
69
|
+
# Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715
|
70
|
+
require 'rbconfig'
|
71
|
+
if RbConfig::CONFIG['host_os'] =~ /linux/
|
72
|
+
task :changelog do
|
73
|
+
puts 'Fixing line endings...'
|
74
|
+
changelog_file = File.join(__dir__, 'CHANGELOG.md')
|
75
|
+
changelog_txt = File.read(changelog_file)
|
76
|
+
new_contents = changelog_txt.gsub(/\r\n/, "\n")
|
77
|
+
File.open(changelog_file, 'w') { |file| file.puts new_contents }
|
78
|
+
end
|
79
|
+
end
|
80
|
+
rescue LoadError
|
81
|
+
end
|
@@ -23,8 +23,8 @@ eos
|
|
23
23
|
s.add_development_dependency 'minitest'
|
24
24
|
s.add_development_dependency 'rspec', '~> 3.0'
|
25
25
|
s.add_development_dependency 'rspec-its'
|
26
|
-
s.add_development_dependency 'fakefs', '
|
27
|
-
s.add_development_dependency 'rake', '~>
|
26
|
+
s.add_development_dependency 'fakefs', '>= 0.6', '< 2.0'
|
27
|
+
s.add_development_dependency 'rake', '~> 13.0'
|
28
28
|
s.add_development_dependency 'simplecov'
|
29
29
|
s.add_development_dependency 'pry', '~> 0.10'
|
30
30
|
|
@@ -13,7 +13,6 @@ module BeakerHostGenerator
|
|
13
13
|
# `include BeakerHostGenerator::Data` and then `<function>()`.
|
14
14
|
module Data
|
15
15
|
module_function
|
16
|
-
MASTER_PE_VERSION=2019.5
|
17
16
|
MAIN_PE_VERSION=2021.0
|
18
17
|
PE_TARBALL_SERVER="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local"
|
19
18
|
|
@@ -34,7 +33,7 @@ module BeakerHostGenerator
|
|
34
33
|
then "#{PE_TARBALL_SERVER}/archives/releases/#{version}/"
|
35
34
|
when /#{base_regex}-rc\d+\Z/
|
36
35
|
then "#{PE_TARBALL_SERVER}/archives/internal/%s/"
|
37
|
-
when /#{base_regex}-.*
|
36
|
+
when /#{base_regex}-.*(PEZ|pez)_.*/
|
38
37
|
then "#{PE_TARBALL_SERVER}/%s/feature/ci-ready"
|
39
38
|
when /#{base_regex}-.*/
|
40
39
|
then "#{PE_TARBALL_SERVER}/%s/ci-ready"
|
@@ -42,23 +41,12 @@ module BeakerHostGenerator
|
|
42
41
|
''
|
43
42
|
end
|
44
43
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
#Is this a Master PEZ build?
|
50
|
-
if(version =~ /.*(PEZ|pez)_.*/)
|
51
|
-
pe_branch = "master/feature"
|
52
|
-
else
|
53
|
-
pe_branch = 'master'
|
54
|
-
end
|
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
|
55
48
|
else
|
56
|
-
|
57
|
-
if(version =~ /.*(PEZ|pez)_.*/)
|
58
|
-
pe_branch = "main/feature"
|
59
|
-
else
|
60
|
-
pe_branch = 'main'
|
61
|
-
end
|
49
|
+
pe_branch = 'main'
|
62
50
|
end
|
63
51
|
|
64
52
|
return sprintf(source, ("#{pe_branch}" || ''))
|
@@ -92,7 +80,27 @@ module BeakerHostGenerator
|
|
92
80
|
# Hypervisor implementations will then grab specific bits of data out of
|
93
81
|
# this hash and combine them to produce the generated hosts output.
|
94
82
|
def osinfo
|
95
|
-
{
|
83
|
+
result = {}
|
84
|
+
|
85
|
+
# Fedora
|
86
|
+
(19..34).each do |release|
|
87
|
+
# 32 bit support was dropped in Fedora 31
|
88
|
+
if release < 31
|
89
|
+
result["fedora#{release}-32"] = {
|
90
|
+
:general => {
|
91
|
+
'platform' => "fedora-#{release}-i386"
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
|
96
|
+
result["fedora#{release}-64"] = {
|
97
|
+
:general => {
|
98
|
+
'platform' => "fedora-#{release}-x86_64"
|
99
|
+
}
|
100
|
+
}
|
101
|
+
end
|
102
|
+
|
103
|
+
result.merge!({
|
96
104
|
'aix53-POWER' => {
|
97
105
|
:general => {
|
98
106
|
'platform' => 'aix-5.3-power',
|
@@ -168,26 +176,17 @@ module BeakerHostGenerator
|
|
168
176
|
'centos4-32' => {
|
169
177
|
:general => {
|
170
178
|
'platform' => 'el-4-i386'
|
171
|
-
},
|
172
|
-
:vmpooler => {
|
173
|
-
'template' => 'centos-4-i386'
|
174
179
|
}
|
175
180
|
},
|
176
181
|
'centos4-64' => {
|
177
182
|
:general => {
|
178
183
|
'platform' => 'el-4-x86_64'
|
179
|
-
},
|
180
|
-
:vmpooler => {
|
181
|
-
'template' => 'centos-4-x86_64'
|
182
184
|
}
|
183
185
|
},
|
184
186
|
'centos5-32' => {
|
185
187
|
:general => {
|
186
188
|
'platform' => 'el-5-i386',
|
187
189
|
'packaging_platform' => 'el-5-i386'
|
188
|
-
},
|
189
|
-
:vmpooler => {
|
190
|
-
'template' => 'centos-5-i386'
|
191
190
|
}
|
192
191
|
},
|
193
192
|
'centos5-64' => {
|
@@ -201,18 +200,12 @@ module BeakerHostGenerator
|
|
201
200
|
'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
|
202
201
|
'sed -i -e "/mingetty/d" /etc/inittab'
|
203
202
|
]
|
204
|
-
},
|
205
|
-
:vmpooler => {
|
206
|
-
'template' => 'centos-5-x86_64'
|
207
203
|
}
|
208
204
|
},
|
209
205
|
'centos6-32' => {
|
210
206
|
:general => {
|
211
207
|
'platform' => 'el-6-i386',
|
212
208
|
'packaging_platform' => 'el-6-i386'
|
213
|
-
},
|
214
|
-
:vmpooler => {
|
215
|
-
'template' => 'centos-6-i386'
|
216
209
|
}
|
217
210
|
},
|
218
211
|
'centos6-64' => {
|
@@ -227,9 +220,6 @@ module BeakerHostGenerator
|
|
227
220
|
'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
|
228
221
|
'rm /etc/init/tty.conf'
|
229
222
|
]
|
230
|
-
},
|
231
|
-
:vmpooler => {
|
232
|
-
'template' => 'centos-6-x86_64'
|
233
223
|
}
|
234
224
|
},
|
235
225
|
'centos7-64' => {
|
@@ -242,9 +232,6 @@ module BeakerHostGenerator
|
|
242
232
|
'cp /bin/true /sbin/agetty',
|
243
233
|
'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which ss'
|
244
234
|
]
|
245
|
-
},
|
246
|
-
:vmpooler => {
|
247
|
-
'template' => 'centos-7-x86_64'
|
248
235
|
}
|
249
236
|
},
|
250
237
|
'centos8-64' => {
|
@@ -257,9 +244,6 @@ module BeakerHostGenerator
|
|
257
244
|
'cp /bin/true /sbin/agetty',
|
258
245
|
'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
|
259
246
|
]
|
260
|
-
},
|
261
|
-
:vmpooler => {
|
262
|
-
'template' => 'centos-8-x86_64'
|
263
247
|
}
|
264
248
|
},
|
265
249
|
# Deprecated
|
@@ -603,239 +587,125 @@ module BeakerHostGenerator
|
|
603
587
|
'template' => 'debian-10-i386'
|
604
588
|
}
|
605
589
|
},
|
606
|
-
'
|
607
|
-
:general => {
|
608
|
-
'platform' => 'fedora-14-i386'
|
609
|
-
},
|
610
|
-
:vmpooler => {
|
611
|
-
'template' => 'fedora-14-i386'
|
612
|
-
}
|
613
|
-
},
|
614
|
-
'fedora19-32' => {
|
590
|
+
'debian11-64' => {
|
615
591
|
:general => {
|
616
|
-
'platform'
|
592
|
+
'platform' => 'debian-11-amd64',
|
593
|
+
'packaging_platform' => 'debian-11-amd64'
|
617
594
|
},
|
618
|
-
:
|
619
|
-
'
|
620
|
-
}
|
621
|
-
},
|
622
|
-
'fedora19-64' => {
|
623
|
-
:general => {
|
624
|
-
'platform' => 'fedora-19-x86_64'
|
625
|
-
},
|
626
|
-
:vmpooler => {
|
627
|
-
'template' => 'fedora-19-x86_64'
|
628
|
-
}
|
629
|
-
},
|
630
|
-
'fedora20-32' => {
|
631
|
-
:general => {
|
632
|
-
'platform' => 'fedora-20-i386'
|
633
|
-
},
|
634
|
-
:vmpooler => {
|
635
|
-
'template' => 'fedora-20-i386'
|
636
|
-
}
|
637
|
-
},
|
638
|
-
'fedora20-64' => {
|
639
|
-
:general => {
|
640
|
-
'platform' => 'fedora-20-x86_64'
|
641
|
-
},
|
642
|
-
:vmpooler => {
|
643
|
-
'template' => 'fedora-20-x86_64'
|
644
|
-
}
|
645
|
-
},
|
646
|
-
'fedora21-32' => {
|
647
|
-
:general => {
|
648
|
-
'platform' => 'fedora-21-i386'
|
649
|
-
},
|
650
|
-
:vmpooler => {
|
651
|
-
'template' => 'fedora-21-i386'
|
652
|
-
}
|
653
|
-
},
|
654
|
-
'fedora21-64' => {
|
655
|
-
:general => {
|
656
|
-
'platform' => 'fedora-21-x86_64'
|
657
|
-
},
|
658
|
-
:vmpooler => {
|
659
|
-
'template' => 'fedora-21-x86_64'
|
660
|
-
}
|
661
|
-
},
|
662
|
-
'fedora22-32' => {
|
663
|
-
:general => {
|
664
|
-
'platform' => 'fedora-22-i386'
|
665
|
-
},
|
666
|
-
:vmpooler => {
|
667
|
-
'template' => 'fedora-22-i386'
|
668
|
-
}
|
669
|
-
},
|
670
|
-
'fedora22-64' => {
|
671
|
-
:general => {
|
672
|
-
'platform' => 'fedora-22-x86_64'
|
673
|
-
},
|
674
|
-
:vmpooler => {
|
675
|
-
'template' => 'fedora-22-x86_64'
|
676
|
-
}
|
677
|
-
},
|
678
|
-
'fedora23-32' => {
|
679
|
-
:general => {
|
680
|
-
'platform' => 'fedora-23-i386'
|
681
|
-
},
|
682
|
-
:vmpooler => {
|
683
|
-
'template' => 'fedora-23-i386'
|
684
|
-
}
|
685
|
-
},
|
686
|
-
'fedora23-64' => {
|
687
|
-
:general => {
|
688
|
-
'platform' => 'fedora-23-x86_64'
|
689
|
-
},
|
690
|
-
:vmpooler => {
|
691
|
-
'template' => 'fedora-23-x86_64'
|
692
|
-
}
|
693
|
-
},
|
694
|
-
'fedora24-32' => {
|
695
|
-
:general => {
|
696
|
-
'platform' => 'fedora-24-i386',
|
697
|
-
'packaging_platform' => 'fedora-24-i386'
|
698
|
-
},
|
699
|
-
:vmpooler => {
|
700
|
-
'template' => 'fedora-24-i386'
|
701
|
-
}
|
702
|
-
},
|
703
|
-
'fedora24-64' => {
|
704
|
-
:general => {
|
705
|
-
'platform' => 'fedora-24-x86_64',
|
706
|
-
'packaging_platform' => 'fedora-24-x86_64'
|
595
|
+
:vagrant => {
|
596
|
+
'box' => 'debian/bullseye64',
|
707
597
|
},
|
708
598
|
:vmpooler => {
|
709
|
-
'template' => '
|
599
|
+
'template' => 'debian-11-x86_64'
|
710
600
|
}
|
711
601
|
},
|
712
|
-
'
|
602
|
+
'fedora14-32' => {
|
713
603
|
:general => {
|
714
|
-
'platform'
|
715
|
-
'packaging_platform' => 'fedora-25-i386'
|
716
|
-
},
|
717
|
-
:vmpooler => {
|
718
|
-
'template' => 'fedora-25-i386'
|
604
|
+
'platform' => 'fedora-14-i386'
|
719
605
|
}
|
720
606
|
},
|
721
|
-
'
|
607
|
+
'huaweios6-POWER' => {
|
722
608
|
:general => {
|
723
|
-
'platform'
|
724
|
-
'packaging_platform' => 'fedora-25-x86_64'
|
609
|
+
'platform' => 'huaweios-6-powerpc'
|
725
610
|
},
|
726
|
-
:
|
727
|
-
'template' => '
|
611
|
+
:abs => {
|
612
|
+
'template' => 'huaweios-6-powerpc'
|
728
613
|
}
|
729
614
|
},
|
730
|
-
'
|
615
|
+
'panos61-64' => {
|
731
616
|
:general => {
|
732
|
-
'platform'
|
733
|
-
'packaging_platform' => 'fedora-26-x86_64'
|
617
|
+
'platform' => 'palo-alto-6.1.0-x86_64'
|
734
618
|
},
|
735
619
|
:vmpooler => {
|
736
|
-
'template' => '
|
620
|
+
'template' => 'palo-alto-6.1.0-x86_64'
|
737
621
|
}
|
738
622
|
},
|
739
|
-
'
|
623
|
+
'panos71-64' => {
|
740
624
|
:general => {
|
741
|
-
'platform'
|
742
|
-
'packaging_platform' => 'fedora-27-x86_64'
|
625
|
+
'platform' => 'palo-alto-7.1.0-x86_64'
|
743
626
|
},
|
744
627
|
:vmpooler => {
|
745
|
-
'template' => '
|
628
|
+
'template' => 'palo-alto-7.1.0-x86_64'
|
746
629
|
}
|
747
630
|
},
|
748
|
-
'
|
631
|
+
'panos81-64' => {
|
749
632
|
:general => {
|
750
|
-
'platform'
|
751
|
-
'packaging_platform' => 'fedora-28-x86_64'
|
633
|
+
'platform' => 'palo-alto-8.1.0-x86_64'
|
752
634
|
},
|
753
635
|
:vmpooler => {
|
754
|
-
'template' => '
|
636
|
+
'template' => 'palo-alto-8.1.0-x86_64'
|
755
637
|
}
|
756
638
|
},
|
757
|
-
'
|
639
|
+
'opensuse11-32' => {
|
758
640
|
:general => {
|
759
|
-
'platform'
|
760
|
-
'packaging_platform' => 'fedora-29-x86_64'
|
641
|
+
'platform' => 'opensuse-11-i386'
|
761
642
|
},
|
762
643
|
:vmpooler => {
|
763
|
-
'template' => '
|
644
|
+
'template' => 'opensuse-11-i386'
|
764
645
|
}
|
765
646
|
},
|
766
|
-
'
|
647
|
+
'opensuse11-64' => {
|
767
648
|
:general => {
|
768
|
-
'platform'
|
769
|
-
'packaging_platform' => 'fedora-30-x86_64'
|
649
|
+
'platform' => 'opensuse-11-x86_64'
|
770
650
|
},
|
771
651
|
:vmpooler => {
|
772
|
-
'template' => '
|
652
|
+
'template' => 'opensuse-11-x86_64'
|
773
653
|
}
|
774
654
|
},
|
775
|
-
'
|
655
|
+
'opensuse15-32' => {
|
776
656
|
:general => {
|
777
|
-
'platform'
|
778
|
-
'packaging_platform' => 'fedora-31-x86_64'
|
657
|
+
'platform' => 'opensuse-15-i386'
|
779
658
|
},
|
780
|
-
:
|
781
|
-
'
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
:general => {
|
786
|
-
'platform' => 'fedora-32-x86_64',
|
787
|
-
'packaging_platform' => 'fedora-32-x86_64'
|
659
|
+
:docker => {
|
660
|
+
'docker_image_commands' => [
|
661
|
+
'cp /bin/true /sbin/agetty',
|
662
|
+
'zypper install -y cron iproute2 tar wget which'
|
663
|
+
]
|
788
664
|
},
|
789
665
|
:vmpooler => {
|
790
|
-
'template' => '
|
666
|
+
'template' => 'opensuse-15-i386'
|
791
667
|
}
|
792
668
|
},
|
793
|
-
'
|
669
|
+
'opensuse15-64' => {
|
794
670
|
:general => {
|
795
|
-
'platform' => '
|
671
|
+
'platform' => 'opensuse-15-x86_64'
|
796
672
|
},
|
797
|
-
:
|
798
|
-
'
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
:general => {
|
803
|
-
'platform' => 'palo-alto-6.1.0-x86_64'
|
673
|
+
:docker => {
|
674
|
+
'docker_image_commands' => [
|
675
|
+
'cp /bin/true /sbin/agetty',
|
676
|
+
'zypper install -y cron iproute2 tar wget which'
|
677
|
+
]
|
804
678
|
},
|
805
679
|
:vmpooler => {
|
806
|
-
'template' => '
|
680
|
+
'template' => 'opensuse-15-x86_64'
|
807
681
|
}
|
808
682
|
},
|
809
|
-
'
|
683
|
+
'opensuse42-32' => {
|
810
684
|
:general => {
|
811
|
-
'platform' => '
|
685
|
+
'platform' => 'opensuse-42-i386'
|
812
686
|
},
|
813
|
-
:
|
814
|
-
'
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
:general => {
|
819
|
-
'platform' => 'palo-alto-8.1.0-x86_64'
|
687
|
+
:docker => {
|
688
|
+
'docker_image_commands' => [
|
689
|
+
'cp /bin/true /sbin/agetty',
|
690
|
+
'zypper install -y cron iproute2 tar wget which'
|
691
|
+
]
|
820
692
|
},
|
821
693
|
:vmpooler => {
|
822
|
-
'template' => '
|
694
|
+
'template' => 'opensuse-42-i386'
|
823
695
|
}
|
824
696
|
},
|
825
|
-
'
|
697
|
+
'opensuse42-64' => {
|
826
698
|
:general => {
|
827
|
-
'platform' => 'opensuse-
|
699
|
+
'platform' => 'opensuse-42-x86_64'
|
828
700
|
},
|
829
|
-
:
|
830
|
-
'
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
:general => {
|
835
|
-
'platform' => 'opensuse-11-x86_64'
|
701
|
+
:docker => {
|
702
|
+
'docker_image_commands' => [
|
703
|
+
'cp /bin/true /sbin/agetty',
|
704
|
+
'zypper install -y cron iproute2 tar wget which'
|
705
|
+
]
|
836
706
|
},
|
837
707
|
:vmpooler => {
|
838
|
-
'template' => 'opensuse-
|
708
|
+
'template' => 'opensuse-42-x86_64'
|
839
709
|
}
|
840
710
|
},
|
841
711
|
'oracle5-32' => {
|
@@ -945,6 +815,15 @@ module BeakerHostGenerator
|
|
945
815
|
'template' => 'osx-1015-x86_64'
|
946
816
|
}
|
947
817
|
},
|
818
|
+
'osx11-64' => {
|
819
|
+
:general => {
|
820
|
+
'platform' => 'osx-11-x86_64',
|
821
|
+
'packaging_platform' => 'osx-11-x86_64'
|
822
|
+
},
|
823
|
+
:vmpooler => {
|
824
|
+
'template' => 'macos-112-x86_64'
|
825
|
+
}
|
826
|
+
},
|
948
827
|
'redhat4-32' => {
|
949
828
|
:general => {
|
950
829
|
'platform' => 'el-4-i386'
|
@@ -1069,6 +948,15 @@ module BeakerHostGenerator
|
|
1069
948
|
'template' => 'redhat-8-x86_64'
|
1070
949
|
}
|
1071
950
|
},
|
951
|
+
'redhat8-POWER' => {
|
952
|
+
:general => {
|
953
|
+
'platform' => 'el-8-ppc64le',
|
954
|
+
'packaging_platform' => 'el-8-ppc64le'
|
955
|
+
},
|
956
|
+
:abs => {
|
957
|
+
'template' => 'redhat-8-power8'
|
958
|
+
}
|
959
|
+
},
|
1072
960
|
'scientific5-32' => {
|
1073
961
|
:general => {
|
1074
962
|
'platform' => 'el-5-i386',
|
@@ -1478,6 +1366,15 @@ module BeakerHostGenerator
|
|
1478
1366
|
'template' => 'ubuntu-2004-x86_64'
|
1479
1367
|
}
|
1480
1368
|
},
|
1369
|
+
'ubuntu2004-AARCH64' => {
|
1370
|
+
:general => {
|
1371
|
+
'platform' => 'ubuntu-20.04-aarch64',
|
1372
|
+
'packaging_platform' => 'ubuntu-20.04-aarch64'
|
1373
|
+
},
|
1374
|
+
:abs => {
|
1375
|
+
'template' => 'ubuntu-2004-arm64'
|
1376
|
+
},
|
1377
|
+
},
|
1481
1378
|
'vro6-64' => {
|
1482
1379
|
:general => {
|
1483
1380
|
'platform' => 'sles-11-x86_64',
|
@@ -1949,7 +1846,9 @@ module BeakerHostGenerator
|
|
1949
1846
|
'template' => 'win-10-1809-x86_64'
|
1950
1847
|
}
|
1951
1848
|
}
|
1952
|
-
}
|
1849
|
+
})
|
1850
|
+
|
1851
|
+
result
|
1953
1852
|
end
|
1954
1853
|
|
1955
1854
|
def osinfo_bhgv1
|
@@ -2025,9 +1924,9 @@ module BeakerHostGenerator
|
|
2025
1924
|
def get_osinfo(bhg_version)
|
2026
1925
|
case bhg_version
|
2027
1926
|
when 0
|
2028
|
-
{}.
|
1927
|
+
{}.deeper_merge!(osinfo)
|
2029
1928
|
when 1
|
2030
|
-
{}.
|
1929
|
+
{}.deeper_merge!(osinfo).deeper_merge!(osinfo_bhgv1)
|
2031
1930
|
else
|
2032
1931
|
raise "Invalid beaker-hostgenerator version: #{bhg_version}"
|
2033
1932
|
end
|
@@ -2071,7 +1970,7 @@ module BeakerHostGenerator
|
|
2071
1970
|
# }
|
2072
1971
|
def get_platform_info(bhg_version, platform, hypervisor)
|
2073
1972
|
info = get_osinfo(bhg_version)[platform]
|
2074
|
-
{}.
|
1973
|
+
{}.deeper_merge!(info[:general]).deeper_merge!(info[hypervisor])
|
2075
1974
|
end
|
2076
1975
|
|
2077
1976
|
# Perform any adjustments or modifications necessary to the given node
|