facter-statistax 0.0.5 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -1
  3. data/.rubycritic.yml +1 -0
  4. data/CODEOWNERS +2 -0
  5. data/Gemfile +1 -1
  6. data/README.md +2 -0
  7. data/acceptance/.beaker.yml +15 -0
  8. data/acceptance/Gemfile +35 -0
  9. data/acceptance/README.md +17 -0
  10. data/acceptance/config.json +127 -0
  11. data/acceptance/config/aio/options.rb +5 -0
  12. data/acceptance/lib/helper.rb +5 -0
  13. data/acceptance/log_performance/configuration.rb +65 -0
  14. data/acceptance/log_performance/custom_exceptions.rb +5 -0
  15. data/acceptance/log_performance/execute_beaker_tests/beaker.rb +77 -0
  16. data/acceptance/log_performance/execute_beaker_tests/command_logger.rb +24 -0
  17. data/acceptance/log_performance/execute_beaker_tests/ns_pooler.rb +60 -0
  18. data/acceptance/log_performance/execute_beaker_tests/output_parser.rb +40 -0
  19. data/acceptance/log_performance/execute_beaker_tests/run_command.rb +30 -0
  20. data/acceptance/log_performance/execute_beaker_tests/test_all_platforms.rb +99 -0
  21. data/acceptance/log_performance/execute_beaker_tests/vm_pooler.rb +7 -0
  22. data/acceptance/log_performance/get_supported_platforms.rb +1904 -0
  23. data/acceptance/log_performance/performance_times_logging/facter_performance_logs_parser.rb +65 -0
  24. data/acceptance/log_performance/performance_times_logging/google_sheets.rb +133 -0
  25. data/acceptance/log_performance/performance_times_logging/log_performance_times.rb +20 -0
  26. data/acceptance/log_performance/performance_times_logging/table_logging_utils.rb +55 -0
  27. data/acceptance/log_performance/performance_times_logging/write_facter_times_to_logger.rb +109 -0
  28. data/acceptance/log_performance/rspec/file_folder_utils_rspec.rb +12 -0
  29. data/acceptance/log_performance/utils.rb +41 -0
  30. data/acceptance/presuite/011_install_facter_ng.rb +20 -0
  31. data/acceptance/presuite/01_install_puppet_agent.rb +23 -0
  32. data/acceptance/presuite/02_install_facter_statistax.rb +8 -0
  33. data/acceptance/presuite/03_install_facter_gem.rb +12 -0
  34. data/acceptance/run/run_statistax.rb +65 -0
  35. data/acceptance/run/uninstall_facter_gem.rb +8 -0
  36. data/acceptance/run/uninstall_puppet_agent.rb +7 -0
  37. data/config/boot.rb +3 -3
  38. data/lib/common/output_writer.rb +1 -1
  39. data/lib/executors/test_run_executor.rb +1 -1
  40. data/lib/version.rb +1 -1
  41. data/scripts/benchmark_script.rb +12 -10
  42. metadata +36 -5
@@ -0,0 +1,40 @@
1
+ require 'set'
2
+
3
+ module OutputParser
4
+ @error_tokens = [
5
+ 'retrying in',
6
+ 'command not found',
7
+ 'invalidurierror',
8
+ 'timed out',
9
+ 'Failed while running the pre_suite suite',
10
+ 'Failed while running the tests suite',
11
+ 'NoMethodError',
12
+ 'ERROR Facter',
13
+ 'ERROR: Gemspec file not found:'
14
+ ]
15
+
16
+ def self.errors?(data)
17
+ errors = extract_errors(data)
18
+ if errors.empty?
19
+ [false, '']
20
+ else
21
+ [true, errors.to_a]
22
+ end
23
+ end
24
+
25
+ private_class_method def self.extract_errors(data)
26
+ # data needs to be encoded because you never know what you get from different vms
27
+ data.encode!('UTF-8', invalid: :replace, undef: :replace)
28
+ errors = Set.new
29
+ @error_tokens.each do |error|
30
+ # Match substring that contains the error token and is between [<time>] and [<time>]
31
+ # used 'i' to ignore case
32
+ data.scan(/[^\[]*#{error}[^\[]*/i) do |entire_error|
33
+ errors << entire_error
34
+ end
35
+ end
36
+ errors
37
+ end
38
+
39
+ end
40
+
@@ -0,0 +1,30 @@
1
+ require 'open3'
2
+ require 'timeout'
3
+
4
+ module RunCommand
5
+ def self.run_command(timeout_in_minutes = 1, env_vars = {}, command)
6
+ @wait_thread = nil
7
+ @output = ''
8
+ begin
9
+ Timeout.timeout(timeout_in_minutes * 60) do
10
+ get_command_output(command, env_vars)
11
+ end
12
+ rescue Timeout::Error
13
+ Process.kill('KILL', @wait_thread) if @wait_thread.alive?
14
+ "Timed out! Did only:\n#{@output}"
15
+ end
16
+ end
17
+
18
+ private_class_method def self.get_command_output(command, env_vars)
19
+ Open3.popen2e(env_vars, command) do |_stdin, stdout_and_stderr, wait_thr|
20
+ @wait_thread = wait_thr
21
+ stdout_and_stderr.each do |line|
22
+ @output << line
23
+ puts line
24
+ end
25
+ end
26
+ @output
27
+ end
28
+
29
+ end
30
+
@@ -0,0 +1,99 @@
1
+ require 'benchmark'
2
+ require 'date'
3
+ require_relative 'vm_pooler'
4
+ require_relative 'ns_pooler'
5
+ require_relative 'run_command'
6
+ require_relative '../configuration'
7
+ require_relative '../utils'
8
+ require_relative 'command_logger'
9
+ require_relative 'output_parser'
10
+ require_relative '../custom_exceptions'
11
+
12
+ class TestAllPlatforms
13
+ def initialize
14
+ @logs_folder = "#{Configuration::LOGS_FOLDER_PATH}/#{DateTime.now.strftime("%d-%m-%Y_%H:%M")}"
15
+ @logger = CommandLogger.new(@logs_folder, Configuration::SCRIPT_ERRORS_LOG_NAME, Configuration::PRE_TESTS_LOG_NAME)
16
+ beaker_logger = CommandLogger.new(@logs_folder, Configuration::RUN_FAILS_LOG_NAME)
17
+ @vmpooler = VMPooler.new(Configuration::VMPOOLERP_PLATFORMS,
18
+ Configuration::USER_HOME_PATH,
19
+ Configuration::BEAKER_ENV_VARS,
20
+ beaker_logger)
21
+ @nspooler = NSPooler.new(Configuration::NSPOOLER_PLATFORMS,
22
+ Configuration::USER_HOME_PATH,
23
+ Configuration::BEAKER_ENV_VARS,
24
+ beaker_logger)
25
+ end
26
+
27
+ def run_tests
28
+ time = TimedMethods.get_run_time {
29
+ prepare_environment
30
+ run_tests_on_vms
31
+ }
32
+ @logger.log("Runtime was #{time} minutes.")
33
+ rescue FailedCommand
34
+ exit
35
+ rescue StandardError => e
36
+ log_script_error(e)
37
+ end
38
+
39
+ private
40
+
41
+ def prepare_environment
42
+ FileFolderUtils.create_directories(@logs_folder)
43
+ clean_workspace
44
+ Configuration::BEAKER_ENV_VARS['SHA'] = get_latest_agent_sha
45
+ get_latest_facter_ng_gem
46
+ end
47
+
48
+ def clean_workspace
49
+ Dir.chdir(Configuration::STATISTAX_PROJECT_PATH) do
50
+ log_run_command('rm *.gem')
51
+ log_run_command('rm puppet-agent*')
52
+ end
53
+ end
54
+
55
+ def get_latest_agent_sha
56
+ log_run_command('curl --fail --silent GET --url http://builds.delivery.puppetlabs.net/passing-agent-SHAs/puppet-agent-master')
57
+ end
58
+
59
+ def get_latest_facter_ng_gem
60
+ Dir.chdir(Configuration::FACTER_NG_PROJECT_PATH) do
61
+ update_facter_ng_master
62
+ log_run_command('gem build facter.gemspec')
63
+ log_run_command("mv *gem #{Configuration::STATISTAX_PROJECT_PATH}")
64
+ end
65
+ end
66
+
67
+ def update_facter_ng_master
68
+ log_run_command('git checkout master')
69
+ log_run_command('git fetch --all')
70
+ log_run_command('git reset --hard origin/master')
71
+ end
72
+
73
+ def run_tests_on_vms
74
+ Dir.chdir(Configuration::STATISTAX_PROJECT_PATH) do
75
+ @vmpooler.run_test_on_all_platforms
76
+ @nspooler.run_test_on_all_platforms
77
+ end
78
+ end
79
+
80
+ def log_run_command(command)
81
+ output = RunCommand.run_command(command)
82
+ has_errors, = OutputParser.errors?(output)
83
+ if has_errors
84
+ @logger.log("Command: #{command} had error:\n#{output}")
85
+ raise FailedCommand
86
+ else
87
+ @logger.log("Running command: #{command}\n#{output}")
88
+ end
89
+ output
90
+ end
91
+
92
+ def log_script_error(e)
93
+ error_message = e.message + "\n" + e.backtrace.inspect.gsub(', ', "\n")
94
+ puts error_message
95
+ @logger.log_error("#{@start_time}\n" + error_message)
96
+ end
97
+ end
98
+
99
+ TestAllPlatforms.new.run_tests
@@ -0,0 +1,7 @@
1
+ require_relative 'beaker'
2
+
3
+ class VMPooler < Beaker
4
+ def initialize(platforms, user_home_path, env_vars, logger)
5
+ super(platforms, user_home_path, env_vars, logger)
6
+ end
7
+ end
@@ -0,0 +1,1904 @@
1
+
2
+ def osinfo
3
+ {
4
+ 'aix53-POWER' => {
5
+ :general => {
6
+ 'platform' => 'aix-5.3-power',
7
+ 'packaging_platform' => 'aix-5.3-power'
8
+ },
9
+ :abs => {
10
+ 'template' => 'aix-5.3-power'
11
+ }
12
+ },
13
+ 'aix61-POWER' => {
14
+ :general => {
15
+ 'platform' => 'aix-6.1-power',
16
+ 'packaging_platform' => 'aix-6.1-power'
17
+ },
18
+ :abs => {
19
+ 'template' => 'aix-6.1-power'
20
+ }
21
+ },
22
+ 'aix71-POWER' => {
23
+ :general => {
24
+ 'platform' => 'aix-7.1-power',
25
+ 'packaging_platform' => 'aix-7.1-power'
26
+ },
27
+ :abs => {
28
+ 'template' => 'aix-7.1-power'
29
+ }
30
+ },
31
+ 'aix72-POWER' => {
32
+ :general => {
33
+ 'platform' => 'aix-7.2-power',
34
+ 'packaging_platform' => 'aix-7.1-power'
35
+ },
36
+ :abs => {
37
+ 'template' => 'aix-7.2-power'
38
+ }
39
+ },
40
+ 'amazon6-64' => {
41
+ :general => {
42
+ 'platform' => 'el-6-x86_64',
43
+ 'packaging_platform' => 'el-6-x86_64'
44
+ },
45
+ :abs => {
46
+ 'template' => 'amazon-6-x86_64'
47
+ }
48
+ },
49
+ 'amazon7-64' => {
50
+ :general => {
51
+ 'platform' => 'el-7-x86_64',
52
+ 'packaging_platform' => 'el-7-x86_64'
53
+ },
54
+ :abs => {
55
+ 'template' => 'amazon-7-x86_64'
56
+ }
57
+ },
58
+ 'amazon7-ARM64' => {
59
+ :general => {
60
+ 'platform' => 'el-7-aarch64',
61
+ 'packaging_platform' => 'el-7-aarch64'
62
+ },
63
+ :abs => {
64
+ 'template' => 'amazon-7-arm64'
65
+ }
66
+ },
67
+ 'arista4-32' => {
68
+ :general => {
69
+ 'platform' => 'eos-4-i386',
70
+ 'packaging_platform' => 'eos-4-i386'
71
+ },
72
+ :vmpooler => {
73
+ 'template' => 'arista-4-i386'
74
+ }
75
+ },
76
+ 'centos4-32' => {
77
+ :general => {
78
+ 'platform' => 'el-4-i386'
79
+ },
80
+ :vmpooler => {
81
+ 'template' => 'centos-4-i386'
82
+ }
83
+ },
84
+ 'centos4-64' => {
85
+ :general => {
86
+ 'platform' => 'el-4-x86_64'
87
+ },
88
+ :vmpooler => {
89
+ 'template' => 'centos-4-x86_64'
90
+ }
91
+ },
92
+ 'centos5-32' => {
93
+ :general => {
94
+ 'platform' => 'el-5-i386',
95
+ 'packaging_platform' => 'el-5-i386'
96
+ },
97
+ :vmpooler => {
98
+ 'template' => 'centos-5-i386'
99
+ }
100
+ },
101
+ 'centos5-64' => {
102
+ :general => {
103
+ 'platform' => 'el-5-x86_64',
104
+ 'packaging_platform' => 'el-5-x86_64'
105
+ },
106
+ :docker => {
107
+ 'docker_image_commands' => [
108
+ 'cp /bin/true /sbin/mingetty',
109
+ 'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
110
+ 'sed -i -e "/mingetty/d" /etc/inittab'
111
+ ]
112
+ },
113
+ :vmpooler => {
114
+ 'template' => 'centos-5-x86_64'
115
+ }
116
+ },
117
+ 'centos6-32' => {
118
+ :general => {
119
+ 'platform' => 'el-6-i386',
120
+ 'packaging_platform' => 'el-6-i386'
121
+ },
122
+ :vmpooler => {
123
+ 'template' => 'centos-6-i386'
124
+ }
125
+ },
126
+ 'centos6-64' => {
127
+ :general => {
128
+ 'platform' => 'el-6-x86_64',
129
+ 'packaging_platform' => 'el-6-x86_64'
130
+ },
131
+ :docker => {
132
+ 'docker_image_commands' => [
133
+ 'cp /bin/true /sbin/mingetty',
134
+ 'rm -rf /var/run/network/*',
135
+ 'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
136
+ 'rm /etc/init/tty.conf'
137
+ ]
138
+ },
139
+ :vmpooler => {
140
+ 'template' => 'centos-6-x86_64'
141
+ }
142
+ },
143
+ 'centos7-64' => {
144
+ :general => {
145
+ 'platform' => 'el-7-x86_64',
146
+ 'packaging_platform' => 'el-7-x86_64'
147
+ },
148
+ :docker => {
149
+ 'docker_image_commands' => [
150
+ 'cp /bin/true /sbin/agetty',
151
+ 'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which ss'
152
+ ]
153
+ },
154
+ :vmpooler => {
155
+ 'template' => 'centos-7-x86_64'
156
+ }
157
+ },
158
+ 'centos8-64' => {
159
+ :general => {
160
+ 'platform' => 'el-8-x86_64',
161
+ 'packaging_platform' => 'el-8-x86_64'
162
+ },
163
+ :docker => {
164
+ 'docker_image_commands' => [
165
+ 'cp /bin/true /sbin/agetty',
166
+ 'yum install -y crontabs initscripts iproute openssl wget which'
167
+ ]
168
+ },
169
+ :vmpooler => {
170
+ 'template' => 'centos-8-x86_64'
171
+ }
172
+ },
173
+ # Deprecated
174
+ 'cisconx-64' => {
175
+ :general => {
176
+ 'platform' => 'cisco_nexus-7-x86_64',
177
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
178
+ 'vrf' => 'management',
179
+ 'ssh' => {
180
+ 'user' => 'beaker'
181
+ }
182
+ },
183
+ :vmpooler => {
184
+ 'template' => 'cisco-nxos-9k-x86_64'
185
+ }
186
+ },
187
+ # Deprecated
188
+ 'ciscon7k-64' => {
189
+ :general => {
190
+ 'platform' => 'cisco_nexus-7k-x86_64',
191
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
192
+ 'vrf' => 'management',
193
+ 'ssh' => {
194
+ 'user' => 'admin'
195
+ }
196
+ },
197
+ :abs => {
198
+ 'template' => 'cisco-n7k-7k-x86_64'
199
+ }
200
+ },
201
+ # Deprecated
202
+ 'cisconxhw-64' => {
203
+ :general => {
204
+ 'platform' => 'cisco_nexus-7-x86_64',
205
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
206
+ 'vrf' => 'management',
207
+ 'ssh' => {
208
+ 'user' => 'devops'
209
+ }
210
+ },
211
+ :abs => {
212
+ 'template' => 'cisco-nxos_hw-9k-x86_64'
213
+ }
214
+ },
215
+ 'cisco_n9k-VM' => {
216
+ :general => {
217
+ 'platform' => 'cisco_nexus-7-x86_64',
218
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
219
+ 'vrf' => 'management',
220
+ 'ssh' => {
221
+ 'user' => 'beaker'
222
+ }
223
+ },
224
+ :vmpooler => {
225
+ 'template' => 'cisco-nxos-9k-x86_64'
226
+ }
227
+ },
228
+ 'cisco_n7k-HW' => {
229
+ :general => {
230
+ 'platform' => 'cisco_nexus-7k-x86_64',
231
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
232
+ 'vrf' => 'management',
233
+ 'ssh' => {
234
+ 'user' => 'admin'
235
+ }
236
+ },
237
+ :abs => {
238
+ 'template' => 'cisco-n7k-x86_64'
239
+ }
240
+ },
241
+ 'cisco_n7k_vdc-HW' => {
242
+ :general => {
243
+ 'platform' => 'cisco_nexus-7k-x86_64',
244
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
245
+ 'vrf' => 'management',
246
+ 'ssh' => {
247
+ 'user' => 'admin'
248
+ }
249
+ },
250
+ :abs => {
251
+ 'template' => 'cisco-n7k_vdc-x86_64'
252
+ }
253
+ },
254
+ 'cisco_n9k-HW' => {
255
+ :general => {
256
+ 'platform' => 'cisco_nexus-7-x86_64',
257
+ 'packaging_platform' => 'cisco-wrlinux-5-x86_64',
258
+ 'vrf' => 'management',
259
+ 'ssh' => {
260
+ 'user' => 'devops'
261
+ }
262
+ },
263
+ :abs => {
264
+ 'template' => 'cisco-n9k-x86_64'
265
+ }
266
+ },
267
+ 'cisco_ios_c2960-HW' => {
268
+ :general => {
269
+ 'platform' => 'cisco_ios-12-arm32',
270
+ 'ssh' => {
271
+ 'user' => 'admin'
272
+ }
273
+ },
274
+ :abs => {
275
+ 'template' => 'cisco-ios_c2960-arm'
276
+ }
277
+ },
278
+ 'cisco_ios_c3560-HW' => {
279
+ :general => {
280
+ 'platform' => 'cisco_ios-12-arm32',
281
+ 'ssh' => {
282
+ 'user' => 'admin'
283
+ }
284
+ },
285
+ :abs => {
286
+ 'template' => 'cisco-ios_c3560-arm'
287
+ }
288
+ },
289
+ 'cisco_ios_c3750-HW' => {
290
+ :general => {
291
+ 'platform' => 'cisco_ios-12-arm32',
292
+ 'ssh' => {
293
+ 'user' => 'admin'
294
+ }
295
+ },
296
+ :abs => {
297
+ 'template' => 'cisco-ios_c3750-arm'
298
+ }
299
+ },
300
+ 'cisco_ios_c4507r-HW' => {
301
+ :general => {
302
+ 'platform' => 'cisco_ios-12-arm32',
303
+ 'ssh' => {
304
+ 'user' => 'admin'
305
+ }
306
+ },
307
+ :abs => {
308
+ 'template' => 'cisco-ios_c4507r-arm'
309
+ }
310
+ },
311
+ 'cisco_ios_c4948-HW' => {
312
+ :general => {
313
+ 'platform' => 'cisco_ios-12-arm32',
314
+ 'ssh' => {
315
+ 'user' => 'admin'
316
+ }
317
+ },
318
+ :abs => {
319
+ 'template' => 'cisco-ios_c4948-arm'
320
+ }
321
+ },
322
+ 'cisco_ios_c6503-HW' => {
323
+ :general => {
324
+ 'platform' => 'cisco_ios-12-arm32',
325
+ 'ssh' => {
326
+ 'user' => 'admin'
327
+ }
328
+ },
329
+ :abs => {
330
+ 'template' => 'cisco-ios_c6503-arm'
331
+ }
332
+ },
333
+ 'cisco_iosxe_c3650-HW' => {
334
+ :general => {
335
+ 'platform' => 'cisco_iosxec3650-arm32',
336
+ 'ssh' => {
337
+ 'user' => 'admin'
338
+ }
339
+ },
340
+ :abs => {
341
+ 'template' => 'cisco-iosxe_c3650-arm'
342
+ }
343
+ },
344
+ 'cisco_iosxe_c4503-HW' => {
345
+ :general => {
346
+ 'platform' => 'cisco_iosxe-3-arm32',
347
+ 'ssh' => {
348
+ 'user' => 'admin'
349
+ }
350
+ },
351
+ :abs => {
352
+ 'template' => 'cisco-iosxe_c4503-arm'
353
+ }
354
+ },
355
+ 'cisco_xr_9k-VM' => {
356
+ :general => {
357
+ 'platform' => 'cisco_ios_xr-6-x86_64',
358
+ 'packaging_platform' => 'cisco-wrlinux-7-x86_64'
359
+ },
360
+ :vmpooler => {
361
+ 'template' => 'cisco-exr-9k-x86_64'
362
+ }
363
+ },
364
+ 'cumulus25-64' => {
365
+ :general => {
366
+ 'platform' => 'cumulus-2.5-x86_64',
367
+ 'packaging_platform' => 'cumulus-2.2-amd64'
368
+ },
369
+ :vmpooler => {
370
+ 'template' => 'cumulus-vx-25-x86_64'
371
+ }
372
+ },
373
+ 'debian6-32' => {
374
+ :general => {
375
+ 'platform' => 'debian-6-i386'
376
+ },
377
+ :vmpooler => {
378
+ 'template' => 'debian-6-i386'
379
+ }
380
+ },
381
+ 'debian6-64' => {
382
+ :general => {
383
+ 'platform' => 'debian-6-amd64'
384
+ },
385
+ :vmpooler => {
386
+ 'template' => 'debian-6-x86_64'
387
+ }
388
+ },
389
+ 'debian7-32' => {
390
+ :general => {
391
+ 'platform' => 'debian-7-i386',
392
+ 'packaging_platform' => 'debian-7-i386'
393
+ },
394
+ :vmpooler => {
395
+ 'template' => 'debian-7-i386'
396
+ }
397
+ },
398
+ 'debian7-64' => {
399
+ :general => {
400
+ 'platform' => 'debian-7-amd64',
401
+ 'packaging_platform' => 'debian-7-amd64'
402
+ },
403
+ :docker => {
404
+ 'docker_image_commands' => [
405
+ 'cp /bin/true /sbin/getty',
406
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget'
407
+ ],
408
+ },
409
+ :vagrant => {
410
+ 'box' => 'debian/wheezy64',
411
+ },
412
+ :vmpooler => {
413
+ 'template' => 'debian-7-x86_64'
414
+ }
415
+ },
416
+ 'debian8-32' => {
417
+ :general => {
418
+ 'platform' => 'debian-8-i386',
419
+ 'packaging_platform' => 'debian-8-i386'
420
+ },
421
+ :vmpooler => {
422
+ 'template' => 'debian-8-i386'
423
+ }
424
+ },
425
+ 'debian8-64' => {
426
+ :general => {
427
+ 'platform' => 'debian-8-amd64',
428
+ 'packaging_platform' => 'debian-8-amd64'
429
+ },
430
+ :docker => {
431
+ 'docker_image_commands' => [
432
+ 'cp /bin/true /sbin/agetty',
433
+ 'rm -f /usr/sbin/policy-rc.d',
434
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget'
435
+ ]
436
+ },
437
+ :vagrant => {
438
+ 'box' => 'debian/jessie64',
439
+ },
440
+ :vmpooler => {
441
+ 'template' => 'debian-8-x86_64'
442
+ }
443
+ },
444
+ 'debian9-32' => {
445
+ :general => {
446
+ 'platform' => 'debian-9-i386',
447
+ 'packaging_platform' => 'debian-9-i386'
448
+ },
449
+ :vmpooler => {
450
+ 'template' => 'debian-9-i386'
451
+ },
452
+ :docker => {
453
+ 'docker_image_commands' => [
454
+ 'cp /bin/true /sbin/agetty',
455
+ 'rm -f /usr/sbin/policy-rc.d',
456
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget'
457
+ ]
458
+ }
459
+ },
460
+ 'debian9-64' => {
461
+ :general => {
462
+ 'platform' => 'debian-9-amd64',
463
+ 'packaging_platform' => 'debian-9-amd64'
464
+ },
465
+ :docker => {
466
+ 'docker_image_commands' => [
467
+ 'cp /bin/true /sbin/agetty',
468
+ 'rm -f /usr/sbin/policy-rc.d',
469
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget systemd-sysv gnupg'
470
+ ]
471
+ },
472
+ :vagrant => {
473
+ 'box' => 'debian/stretch64',
474
+ },
475
+ :vmpooler => {
476
+ 'template' => 'debian-9-x86_64'
477
+ }
478
+ },
479
+ 'debian10-64' => {
480
+ :general => {
481
+ 'platform' => 'debian-10-amd64',
482
+ 'packaging_platform' => 'debian-10-amd64'
483
+ },
484
+ :docker => {
485
+ 'docker_image_commands' => [
486
+ 'cp /bin/true /sbin/agetty',
487
+ 'rm -f /usr/sbin/policy-rc.d',
488
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg'
489
+ ]
490
+ },
491
+ :vmpooler => {
492
+ 'template' => 'debian-10-x86_64'
493
+ }
494
+ },
495
+ 'debian10-32' => {
496
+ :general => {
497
+ 'platform' => 'debian-10-i386',
498
+ 'packaging_platform' => 'debian-10-i386'
499
+ },
500
+ :docker => {
501
+ 'docker_image_commands' => [
502
+ 'cp /bin/true /sbin/agetty',
503
+ 'rm -f /usr/sbin/policy-rc.d',
504
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg'
505
+ ]
506
+ },
507
+ :vmpooler => {
508
+ 'template' => 'debian-10-i386'
509
+ }
510
+ },
511
+ 'fedora14-32' => {
512
+ :general => {
513
+ 'platform' => 'fedora-14-i386'
514
+ },
515
+ :vmpooler => {
516
+ 'template' => 'fedora-14-i386'
517
+ }
518
+ },
519
+ 'fedora19-32' => {
520
+ :general => {
521
+ 'platform' => 'fedora-19-i386'
522
+ },
523
+ :vmpooler => {
524
+ 'template' => 'fedora-19-i386'
525
+ }
526
+ },
527
+ 'fedora19-64' => {
528
+ :general => {
529
+ 'platform' => 'fedora-19-x86_64'
530
+ },
531
+ :vmpooler => {
532
+ 'template' => 'fedora-19-x86_64'
533
+ }
534
+ },
535
+ 'fedora20-32' => {
536
+ :general => {
537
+ 'platform' => 'fedora-20-i386'
538
+ },
539
+ :vmpooler => {
540
+ 'template' => 'fedora-20-i386'
541
+ }
542
+ },
543
+ 'fedora20-64' => {
544
+ :general => {
545
+ 'platform' => 'fedora-20-x86_64'
546
+ },
547
+ :vmpooler => {
548
+ 'template' => 'fedora-20-x86_64'
549
+ }
550
+ },
551
+ 'fedora21-32' => {
552
+ :general => {
553
+ 'platform' => 'fedora-21-i386'
554
+ },
555
+ :vmpooler => {
556
+ 'template' => 'fedora-21-i386'
557
+ }
558
+ },
559
+ 'fedora21-64' => {
560
+ :general => {
561
+ 'platform' => 'fedora-21-x86_64'
562
+ },
563
+ :vmpooler => {
564
+ 'template' => 'fedora-21-x86_64'
565
+ }
566
+ },
567
+ 'fedora22-32' => {
568
+ :general => {
569
+ 'platform' => 'fedora-22-i386'
570
+ },
571
+ :vmpooler => {
572
+ 'template' => 'fedora-22-i386'
573
+ }
574
+ },
575
+ 'fedora22-64' => {
576
+ :general => {
577
+ 'platform' => 'fedora-22-x86_64'
578
+ },
579
+ :vmpooler => {
580
+ 'template' => 'fedora-22-x86_64'
581
+ }
582
+ },
583
+ 'fedora23-32' => {
584
+ :general => {
585
+ 'platform' => 'fedora-23-i386'
586
+ },
587
+ :vmpooler => {
588
+ 'template' => 'fedora-23-i386'
589
+ }
590
+ },
591
+ 'fedora23-64' => {
592
+ :general => {
593
+ 'platform' => 'fedora-23-x86_64'
594
+ },
595
+ :vmpooler => {
596
+ 'template' => 'fedora-23-x86_64'
597
+ }
598
+ },
599
+ 'fedora24-32' => {
600
+ :general => {
601
+ 'platform' => 'fedora-24-i386',
602
+ 'packaging_platform' => 'fedora-24-i386'
603
+ },
604
+ :vmpooler => {
605
+ 'template' => 'fedora-24-i386'
606
+ }
607
+ },
608
+ 'fedora24-64' => {
609
+ :general => {
610
+ 'platform' => 'fedora-24-x86_64',
611
+ 'packaging_platform' => 'fedora-24-x86_64'
612
+ },
613
+ :vmpooler => {
614
+ 'template' => 'fedora-24-x86_64'
615
+ }
616
+ },
617
+ 'fedora25-32' => {
618
+ :general => {
619
+ 'platform' => 'fedora-25-i386',
620
+ 'packaging_platform' => 'fedora-25-i386'
621
+ },
622
+ :vmpooler => {
623
+ 'template' => 'fedora-25-i386'
624
+ }
625
+ },
626
+ 'fedora25-64' => {
627
+ :general => {
628
+ 'platform' => 'fedora-25-x86_64',
629
+ 'packaging_platform' => 'fedora-25-x86_64'
630
+ },
631
+ :vmpooler => {
632
+ 'template' => 'fedora-25-x86_64'
633
+ }
634
+ },
635
+ 'fedora26-64' => {
636
+ :general => {
637
+ 'platform' => 'fedora-26-x86_64',
638
+ 'packaging_platform' => 'fedora-26-x86_64'
639
+ },
640
+ :vmpooler => {
641
+ 'template' => 'fedora-26-x86_64'
642
+ }
643
+ },
644
+ 'fedora27-64' => {
645
+ :general => {
646
+ 'platform' => 'fedora-27-x86_64',
647
+ 'packaging_platform' => 'fedora-27-x86_64'
648
+ },
649
+ :vmpooler => {
650
+ 'template' => 'fedora-27-x86_64'
651
+ }
652
+ },
653
+ 'fedora28-64' => {
654
+ :general => {
655
+ 'platform' => 'fedora-28-x86_64',
656
+ 'packaging_platform' => 'fedora-28-x86_64'
657
+ },
658
+ :vmpooler => {
659
+ 'template' => 'fedora-28-x86_64'
660
+ }
661
+ },
662
+ 'fedora29-64' => {
663
+ :general => {
664
+ 'platform' => 'fedora-29-x86_64',
665
+ 'packaging_platform' => 'fedora-29-x86_64'
666
+ },
667
+ :vmpooler => {
668
+ 'template' => 'fedora-29-x86_64'
669
+ }
670
+ },
671
+ 'fedora30-64' => {
672
+ :general => {
673
+ 'platform' => 'fedora-30-x86_64',
674
+ 'packaging_platform' => 'fedora-30-x86_64'
675
+ },
676
+ :vmpooler => {
677
+ 'template' => 'fedora-30-x86_64'
678
+ }
679
+ },
680
+ 'fedora31-64' => {
681
+ :general => {
682
+ 'platform' => 'fedora-31-x86_64',
683
+ 'packaging_platform' => 'fedora-31-x86_64'
684
+ },
685
+ :vmpooler => {
686
+ 'template' => 'fedora-31-x86_64'
687
+ }
688
+ },
689
+ 'huaweios6-POWER' => {
690
+ :general => {
691
+ 'platform' => 'huaweios-6-powerpc'
692
+ },
693
+ :abs => {
694
+ 'template' => 'huaweios-6-powerpc'
695
+ }
696
+ },
697
+ 'panos61-64' => {
698
+ :general => {
699
+ 'platform' => 'palo-alto-6.1.0-x86_64'
700
+ },
701
+ :vmpooler => {
702
+ 'template' => 'palo-alto-6.1.0-x86_64'
703
+ }
704
+ },
705
+ 'panos71-64' => {
706
+ :general => {
707
+ 'platform' => 'palo-alto-7.1.0-x86_64'
708
+ },
709
+ :vmpooler => {
710
+ 'template' => 'palo-alto-7.1.0-x86_64'
711
+ }
712
+ },
713
+ 'panos81-64' => {
714
+ :general => {
715
+ 'platform' => 'palo-alto-8.1.0-x86_64'
716
+ },
717
+ :vmpooler => {
718
+ 'template' => 'palo-alto-8.1.0-x86_64'
719
+ }
720
+ },
721
+ 'opensuse11-32' => {
722
+ :general => {
723
+ 'platform' => 'opensuse-11-i386'
724
+ },
725
+ :vmpooler => {
726
+ 'template' => 'opensuse-11-i386'
727
+ }
728
+ },
729
+ 'opensuse11-64' => {
730
+ :general => {
731
+ 'platform' => 'opensuse-11-x86_64'
732
+ },
733
+ :vmpooler => {
734
+ 'template' => 'opensuse-11-x86_64'
735
+ }
736
+ },
737
+ 'oracle5-32' => {
738
+ :general => {
739
+ 'platform' => 'el-5-i386',
740
+ 'packaging_platform' => 'el-5-i386'
741
+ },
742
+ :vmpooler => {
743
+ 'template' => 'oracle-5-i386'
744
+ }
745
+ },
746
+ 'oracle5-64' => {
747
+ :general => {
748
+ 'platform' => 'el-5-x86_64',
749
+ 'packaging_platform' => 'el-5-x86_64'
750
+ },
751
+ :vmpooler => {
752
+ 'template' => 'oracle-5-x86_64'
753
+ }
754
+ },
755
+ 'oracle6-32' => {
756
+ :general => {
757
+ 'platform' => 'el-6-i386',
758
+ 'packaging_platform' => 'el-6-i386'
759
+ },
760
+ :vmpooler => {
761
+ 'template' => 'oracle-6-i386'
762
+ }
763
+ },
764
+ 'oracle6-64' => {
765
+ :general => {
766
+ 'platform' => 'el-6-x86_64',
767
+ 'packaging_platform' => 'el-6-x86_64'
768
+ },
769
+ :vmpooler => {
770
+ 'template' => 'oracle-6-x86_64'
771
+ }
772
+ },
773
+ 'oracle7-64' => {
774
+ :general => {
775
+ 'platform' => 'el-7-x86_64',
776
+ 'packaging_platform' => 'el-7-x86_64'
777
+ },
778
+ :vmpooler => {
779
+ 'template' => 'oracle-7-x86_64'
780
+ }
781
+ },
782
+ 'osx109-64' => {
783
+ :general => {
784
+ 'platform' => 'osx-10.9-x86_64'
785
+ },
786
+ :vmpooler => {
787
+ 'template' => 'osx-109-x86_64'
788
+ }
789
+ },
790
+ 'osx1010-64' => {
791
+ :general => {
792
+ 'platform' => 'osx-10.10-x86_64',
793
+ 'packaging_platform' => 'osx-10.10-x86_64'
794
+ },
795
+ :vmpooler => {
796
+ 'template' => 'osx-1010-x86_64'
797
+ }
798
+ },
799
+ 'osx1011-64' => {
800
+ :general => {
801
+ 'platform' => 'osx-10.11-x86_64',
802
+ 'packaging_platform' => 'osx-10.11-x86_64'
803
+ },
804
+ :vmpooler => {
805
+ 'template' => 'osx-1011-x86_64'
806
+ }
807
+ },
808
+ 'osx1012-64' => {
809
+ :general => {
810
+ 'platform' => 'osx-10.12-x86_64',
811
+ 'packaging_platform' => 'osx-10.12-x86_64'
812
+ },
813
+ :vmpooler => {
814
+ 'template' => 'osx-1012-x86_64'
815
+ }
816
+ },
817
+ 'osx1013-64' => {
818
+ :general => {
819
+ 'platform' => 'osx-10.13-x86_64',
820
+ 'packaging_platform' => 'osx-10.13-x86_64'
821
+ },
822
+ :vmpooler => {
823
+ 'template' => 'osx-1013-x86_64'
824
+ }
825
+ },
826
+ 'osx1014-64' => {
827
+ :general => {
828
+ 'platform' => 'osx-10.14-x86_64',
829
+ 'packaging_platform' => 'osx-10.14-x86_64'
830
+ },
831
+ :vmpooler => {
832
+ 'template' => 'osx-1014-x86_64'
833
+ }
834
+ },
835
+ 'osx1015-64' => {
836
+ :general => {
837
+ 'platform' => 'osx-10.15-x86_64',
838
+ 'packaging_platform' => 'osx-10.15-x86_64'
839
+ },
840
+ :vmpooler => {
841
+ 'template' => 'osx-1015-x86_64'
842
+ }
843
+ },
844
+ 'redhat4-32' => {
845
+ :general => {
846
+ 'platform' => 'el-4-i386'
847
+ },
848
+ :vmpooler => {
849
+ 'template' => 'redhat-4-i386'
850
+ }
851
+ },
852
+ 'redhat4-64' => {
853
+ :general => {
854
+ 'platform' => 'el-4-x86_64'
855
+ },
856
+ :vmpooler => {
857
+ 'template' => 'redhat-4-x86_64'
858
+ }
859
+ },
860
+ 'redhat5-32' => {
861
+ :general => {
862
+ 'platform' => 'el-5-i386',
863
+ 'packaging_platform' => 'el-5-i386'
864
+ },
865
+ :vmpooler => {
866
+ 'template' => 'redhat-5-i386'
867
+ }
868
+ },
869
+ 'redhat5-64' => {
870
+ :general => {
871
+ 'platform' => 'el-5-x86_64',
872
+ 'packaging_platform' => 'el-5-x86_64'
873
+ },
874
+ :vmpooler => {
875
+ 'template' => 'redhat-5-x86_64'
876
+ }
877
+ },
878
+ 'redhat6-32' => {
879
+ :general => {
880
+ 'platform' => 'el-6-i386',
881
+ 'packaging_platform' => 'el-6-i386'
882
+ },
883
+ :vmpooler => {
884
+ 'template' => 'redhat-6-i386'
885
+ }
886
+ },
887
+ 'redhat6-64' => {
888
+ :general => {
889
+ 'platform' => 'el-6-x86_64',
890
+ 'packaging_platform' => 'el-6-x86_64'
891
+ },
892
+ :vmpooler => {
893
+ 'template' => 'redhat-6-x86_64'
894
+ }
895
+ },
896
+ 'redhat6-S390X' => {
897
+ :general => {
898
+ 'platform' => 'el-6-s390x',
899
+ 'packaging_platform' => 'el-6-s390x'
900
+ },
901
+ },
902
+ 'redhat7-64' => {
903
+ :general => {
904
+ 'platform' => 'el-7-x86_64',
905
+ 'packaging_platform' => 'el-7-x86_64'
906
+ },
907
+ :vmpooler => {
908
+ 'template' => 'redhat-7-x86_64'
909
+ }
910
+ },
911
+ 'redhatfips7-64' => {
912
+ :general => {
913
+ 'platform' => 'el-7-x86_64',
914
+ 'packaging_platform' => 'redhatfips-7-x86_64'
915
+ },
916
+ :vmpooler => {
917
+ 'template' => 'redhat-fips-7-x86_64'
918
+ }
919
+ },
920
+ 'redhat7-POWER' => {
921
+ :general => {
922
+ 'platform' => 'el-7-ppc64le',
923
+ 'packaging_platform' => 'el-7-ppc64le'
924
+ },
925
+ :abs => {
926
+ 'template' => 'redhat-7.3-power8'
927
+ }
928
+ },
929
+ 'redhat7-S390X' => {
930
+ :general => {
931
+ 'platform' => 'el-7-s390x',
932
+ 'packaging_platform' => 'el-7-s390x'
933
+ },
934
+ },
935
+ 'redhat7-AARCH64' => {
936
+ :general => {
937
+ 'platform' => 'el-7-aarch64',
938
+ 'packaging_platform' => 'el-7-aarch64'
939
+ },
940
+ :abs => {
941
+ 'template' => 'centos-7-arm64'
942
+ },
943
+ :vmpooler => {
944
+ 'template' => 'redhat-7-x86_64'
945
+ }
946
+ },
947
+ 'redhat8-64' => {
948
+ :general => {
949
+ 'platform' => 'el-8-x86_64',
950
+ 'packaging_platform' => 'el-8-x86_64'
951
+ },
952
+ :vmpooler => {
953
+ 'template' => 'redhat-8-x86_64'
954
+ }
955
+ },
956
+ 'scientific5-32' => {
957
+ :general => {
958
+ 'platform' => 'el-5-i386',
959
+ 'packaging_platform' => 'el-5-i386'
960
+ },
961
+ :vmpooler => {
962
+ 'template' => 'scientific-5-i386'
963
+ }
964
+ },
965
+ 'scientific5-64' => {
966
+ :general => {
967
+ 'platform' => 'el-5-x86_64',
968
+ 'packaging_platform' => 'el-5-x86_64'
969
+ },
970
+ :vmpooler => {
971
+ 'template' => 'scientific-5-x86_64'
972
+ }
973
+ },
974
+ 'scientific6-32' => {
975
+ :general => {
976
+ 'platform' => 'el-6-i386',
977
+ 'packaging_platform' => 'el-6-i386'
978
+ },
979
+ :vmpooler => {
980
+ 'template' => 'scientific-6-i386'
981
+ }
982
+ },
983
+ 'scientific6-64' => {
984
+ :general => {
985
+ 'platform' => 'el-6-x86_64',
986
+ 'packaging_platform' => 'el-6-x86_64'
987
+ },
988
+ :vmpooler => {
989
+ 'template' => 'scientific-6-x86_64'
990
+ }
991
+ },
992
+ 'scientific7-64' => {
993
+ :general => {
994
+ 'platform' => 'el-7-x86_64',
995
+ 'packaging_platform' => 'el-7-x86_64'
996
+ },
997
+ :vmpooler => {
998
+ 'template' => 'scientific-7-x86_64'
999
+ }
1000
+ },
1001
+ 'sles10-32' => {
1002
+ :general => {
1003
+ 'platform' => 'sles-10-i386'
1004
+ },
1005
+ :vmpooler => {
1006
+ 'template' => 'sles-10-i386'
1007
+ }
1008
+ },
1009
+ 'sles10-64' => {
1010
+ :general => {
1011
+ 'platform' => 'sles-10-x86_64'
1012
+ },
1013
+ :vmpooler => {
1014
+ 'template' => 'sles-10-x86_64'
1015
+ }
1016
+ },
1017
+ 'sles11-32' => {
1018
+ :general => {
1019
+ 'platform' => 'sles-11-i386',
1020
+ 'packaging_platform' => 'sles-11-i386'
1021
+ },
1022
+ :vmpooler => {
1023
+ 'template' => 'sles-11-i386'
1024
+ }
1025
+ },
1026
+ 'sles11-64' => {
1027
+ :general => {
1028
+ 'platform' => 'sles-11-x86_64',
1029
+ 'packaging_platform' => 'sles-11-x86_64'
1030
+ },
1031
+ :vmpooler => {
1032
+ 'template' => 'sles-11-x86_64'
1033
+ }
1034
+ },
1035
+ 'sles11-S390X' => {
1036
+ :general => {
1037
+ 'platform' => 'sles-11-s390x',
1038
+ 'packaging_platform' => 'sles-11-s390x'
1039
+ },
1040
+ },
1041
+ 'sles12-64' => {
1042
+ :general => {
1043
+ 'platform' => 'sles-12-x86_64',
1044
+ 'packaging_platform' => 'sles-12-x86_64'
1045
+ },
1046
+ :vmpooler => {
1047
+ 'template' => 'sles-12-x86_64'
1048
+ }
1049
+ },
1050
+ 'sles12-S390X' => {
1051
+ :general => {
1052
+ 'platform' => 'sles-12-s390x',
1053
+ 'packaging_platform' => 'sles-12-s390x'
1054
+ }
1055
+ },
1056
+ 'sles12-POWER' => {
1057
+ :general => {
1058
+ 'platform' => 'sles-12-ppc64le',
1059
+ 'packaging_platform' => 'sles-12-ppc64le'
1060
+ },
1061
+ :abs => {
1062
+ 'template' => 'sles-12-power8'
1063
+ }
1064
+ },
1065
+ 'sles15-64' => {
1066
+ :general => {
1067
+ 'platform' => 'sles-15-x86_64',
1068
+ 'packaging_platform' => 'sles-15-x86_64'
1069
+ },
1070
+ :vmpooler => {
1071
+ 'template' => 'sles-15-x86_64'
1072
+ }
1073
+ },
1074
+ 'solaris10-32' => {
1075
+ :general => {
1076
+ 'platform' => 'solaris-10-i386',
1077
+ 'packaging_platform' => 'solaris-10-i386'
1078
+ },
1079
+ :vmpooler => {
1080
+ 'template' => 'solaris-10-x86_64'
1081
+ }
1082
+ },
1083
+ 'solaris10-64' => {
1084
+ :general => {
1085
+ 'platform' => 'solaris-10-i386',
1086
+ 'packaging_platform' => 'solaris-10-i386'
1087
+ },
1088
+ :vmpooler => {
1089
+ 'template' => 'solaris-10-x86_64'
1090
+ }
1091
+ },
1092
+ 'solaris10-SPARC' => {
1093
+ :general => {
1094
+ 'platform' => 'solaris-10-sparc',
1095
+ 'packaging_platform' => 'solaris-10-sparc'
1096
+ },
1097
+ :abs => {
1098
+ 'template' => 'solaris-10-sparc'
1099
+ }
1100
+ },
1101
+ 'solaris11-32' => {
1102
+ :general => {
1103
+ 'platform' => 'solaris-11-i386',
1104
+ 'packaging_platform' => 'solaris-11-i386'
1105
+ },
1106
+ :vmpooler => {
1107
+ 'template' => 'solaris-11-x86_64'
1108
+ }
1109
+ },
1110
+ 'solaris11-64' => {
1111
+ :general => {
1112
+ 'platform' => 'solaris-11-i386',
1113
+ 'packaging_platform' => 'solaris-11-i386'
1114
+ },
1115
+ :vmpooler => {
1116
+ 'template' => 'solaris-11-x86_64'
1117
+ }
1118
+ },
1119
+ 'solaris11-SPARC' => {
1120
+ :general => {
1121
+ 'platform' => 'solaris-11-sparc',
1122
+ 'packaging_platform' => 'solaris-11-sparc'
1123
+ },
1124
+ :abs => {
1125
+ 'template' => 'solaris-11-sparc'
1126
+ }
1127
+ },
1128
+ 'solaris112-32' => {
1129
+ :general => {
1130
+ 'platform' => 'solaris-11.2-i386',
1131
+ 'packaging_platform' => 'solaris-11-i386'
1132
+ },
1133
+ :vmpooler => {
1134
+ 'template' => 'solaris-112-x86_64'
1135
+ }
1136
+ },
1137
+ 'solaris112-64' => {
1138
+ :general => {
1139
+ 'platform' => 'solaris-11.2-i386',
1140
+ 'packaging_platform' => 'solaris-11-i386'
1141
+ },
1142
+ :vmpooler => {
1143
+ 'template' => 'solaris-112-x86_64'
1144
+ }
1145
+ },
1146
+ 'solaris114-32' => {
1147
+ :general => {
1148
+ 'platform' => 'solaris-11.4-i386',
1149
+ 'packaging_platform' => 'solaris-11-i386'
1150
+ },
1151
+ :vmpooler => {
1152
+ 'template' => 'solaris-114-x86_64'
1153
+ }
1154
+ },
1155
+ 'solaris114-64' => {
1156
+ :general => {
1157
+ 'platform' => 'solaris-11.4-i386',
1158
+ 'packaging_platform' => 'solaris-11-i386'
1159
+ },
1160
+ :vmpooler => {
1161
+ 'template' => 'solaris-114-x86_64'
1162
+ }
1163
+ },
1164
+ 'ubuntu1004-32' => {
1165
+ :general => {
1166
+ 'platform' => 'ubuntu-10.04-i386'
1167
+ },
1168
+ :vmpooler => {
1169
+ 'template' => 'ubuntu-1004-i386'
1170
+ }
1171
+ },
1172
+ 'ubuntu1004-64' => {
1173
+ :general => {
1174
+ 'platform' => 'ubuntu-10.04-amd64'
1175
+ },
1176
+ :vmpooler => {
1177
+ 'template' => 'ubuntu-1004-x86_64'
1178
+ }
1179
+ },
1180
+ 'ubuntu1204-32' => {
1181
+ :general => {
1182
+ 'platform' => 'ubuntu-12.04-i386'
1183
+ },
1184
+ :vmpooler => {
1185
+ 'template' => 'ubuntu-1204-i386'
1186
+ }
1187
+ },
1188
+ 'ubuntu1204-64' => {
1189
+ :general => {
1190
+ 'platform' => 'ubuntu-12.04-amd64'
1191
+ },
1192
+ :docker => {
1193
+ 'docker_image_commands' => [
1194
+ 'cp /bin/true /sbin/agetty',
1195
+ 'apt-get install -y net-tools wget',
1196
+ 'locale-gen en_US.UTF-8'
1197
+ ]
1198
+ },
1199
+ :vmpooler => {
1200
+ 'template' => 'ubuntu-1204-x86_64'
1201
+ }
1202
+ },
1203
+ 'ubuntu1404-32' => {
1204
+ :general => {
1205
+ 'platform' => 'ubuntu-14.04-i386',
1206
+ 'packaging_platform' => 'ubuntu-14.04-i386'
1207
+ },
1208
+ :vmpooler => {
1209
+ 'template' => 'ubuntu-1404-i386'
1210
+ }
1211
+ },
1212
+ 'ubuntu1404-64' => {
1213
+ :general => {
1214
+ 'platform' => 'ubuntu-14.04-amd64',
1215
+ 'packaging_platform' => 'ubuntu-14.04-amd64'
1216
+ },
1217
+ :docker => {
1218
+ 'docker_image_commands' => [
1219
+ 'cp /bin/true /sbin/agetty',
1220
+ 'rm /usr/sbin/policy-rc.d',
1221
+ 'rm /sbin/initctl; dpkg-divert --rename --remove /sbin/initctl',
1222
+ 'apt-get install -y net-tools wget apt-transport-https',
1223
+ 'locale-gen en_US.UTF-8',
1224
+ 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1225
+ ]
1226
+ },
1227
+ :vmpooler => {
1228
+ 'template' => 'ubuntu-1404-x86_64'
1229
+ }
1230
+ },
1231
+ 'ubuntu1504-32' => {
1232
+ :general => {
1233
+ 'platform' => 'ubuntu-15.04-i386'
1234
+ },
1235
+ :vmpooler => {
1236
+ 'template' => 'ubuntu-1504-i386'
1237
+ }
1238
+ },
1239
+ 'ubuntu1504-64' => {
1240
+ :general => {
1241
+ 'platform' => 'ubuntu-15.04-amd64'
1242
+ },
1243
+ :vmpooler => {
1244
+ 'template' => 'ubuntu-1504-x86_64'
1245
+ }
1246
+ },
1247
+ 'ubuntu1510-32' => {
1248
+ :general => {
1249
+ 'platform' => 'ubuntu-15.10-i386'
1250
+ },
1251
+ :vmpooler => {
1252
+ 'template' => 'ubuntu-1510-i386'
1253
+ }
1254
+ },
1255
+ 'ubuntu1510-64' => {
1256
+ :general => {
1257
+ 'platform' => 'ubuntu-15.10-amd64'
1258
+ },
1259
+ :vmpooler => {
1260
+ 'template' => 'ubuntu-1510-x86_64'
1261
+ }
1262
+ },
1263
+ 'ubuntu1604-32' => {
1264
+ :general => {
1265
+ 'platform' => 'ubuntu-16.04-i386',
1266
+ 'packaging_platform' => 'ubuntu-16.04-i386'
1267
+ },
1268
+ :vmpooler => {
1269
+ 'template' => 'ubuntu-1604-i386'
1270
+ }
1271
+ },
1272
+ 'ubuntu1604-64' => {
1273
+ :general => {
1274
+ 'platform' => 'ubuntu-16.04-amd64',
1275
+ 'packaging_platform' => 'ubuntu-16.04-amd64'
1276
+ },
1277
+ :docker => {
1278
+ 'docker_image_commands' => [
1279
+ 'cp /bin/true /sbin/agetty',
1280
+ 'apt-get install -y net-tools wget locales apt-transport-https',
1281
+ 'locale-gen en_US.UTF-8',
1282
+ 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1283
+ ]
1284
+ },
1285
+ :vmpooler => {
1286
+ 'template' => 'ubuntu-1604-x86_64'
1287
+ }
1288
+ },
1289
+ 'ubuntu1604-POWER' => {
1290
+ :general => {
1291
+ 'platform' => 'ubuntu-16.04-ppc64el',
1292
+ 'packaging_platform' => 'ubuntu-16.04-ppc64el'
1293
+ },
1294
+ :abs => {
1295
+ 'template' => 'ubuntu-16.04-power8'
1296
+ }
1297
+ },
1298
+ 'ubuntu1610-32' => {
1299
+ :general => {
1300
+ 'platform' => 'ubuntu-16.10-i386'
1301
+ },
1302
+ :vmpooler => {
1303
+ 'template' => 'ubuntu-1610-i386'
1304
+ }
1305
+ },
1306
+ 'ubuntu1610-64' => {
1307
+ :general => {
1308
+ 'platform' => 'ubuntu-16.10-amd64'
1309
+ },
1310
+ :vmpooler => {
1311
+ 'template' => 'ubuntu-1610-x86_64'
1312
+ }
1313
+ },
1314
+ 'ubuntu1804-64' => {
1315
+ :general => {
1316
+ 'platform' => 'ubuntu-18.04-amd64',
1317
+ 'packaging_platform' => 'ubuntu-18.04-amd64'
1318
+ },
1319
+ :docker => {
1320
+ 'docker_image_commands' => [
1321
+ 'cp /bin/true /sbin/agetty',
1322
+ 'apt-get install -y net-tools wget locales apt-transport-https iproute2 gnupg',
1323
+ 'locale-gen en_US.UTF-8',
1324
+ 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1325
+ ]
1326
+ },
1327
+ :vmpooler => {
1328
+ 'template' => 'ubuntu-1804-x86_64'
1329
+ }
1330
+ },
1331
+ 'ubuntu1810-64' => {
1332
+ :general => {
1333
+ 'platform' => 'ubuntu-18.10-amd64',
1334
+ 'packaging_platform' => 'ubuntu-18.10-amd64'
1335
+ },
1336
+ :docker => {
1337
+ 'docker_image_commands' => [
1338
+ 'cp /bin/true /sbin/agetty',
1339
+ 'apt-get install -y net-tools wget locales apt-transport-https iproute2',
1340
+ 'locale-gen en_US.UTF-8',
1341
+ 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1342
+ ]
1343
+ },
1344
+ :vmpooler => {
1345
+ 'template' => 'ubuntu-1810-x86_64'
1346
+ }
1347
+ },
1348
+ 'vro6-64' => {
1349
+ :general => {
1350
+ 'platform' => 'sles-11-x86_64',
1351
+ 'packaging_platform' => 'sles-11-x86_64'
1352
+ },
1353
+ :vmpooler => {
1354
+ 'template' => 'vro-6-x86_64'
1355
+ }
1356
+ },
1357
+ 'vro7-64' => {
1358
+ :general => {
1359
+ 'platform' => 'sles-11-x86_64',
1360
+ 'packaging_platform' => 'sles-11-x86_64'
1361
+ },
1362
+ :vmpooler => {
1363
+ 'template' => 'vro-7-x86_64'
1364
+ }
1365
+ },
1366
+ 'vro71-64' => {
1367
+ :general => {
1368
+ 'platform' => 'sles-11-x86_64',
1369
+ 'packaging_platform' => 'sles-11-x86_64'
1370
+ },
1371
+ :vmpooler => {
1372
+ 'template' => 'vro-71-x86_64'
1373
+ }
1374
+ },
1375
+ 'vro73-64' => {
1376
+ :general => {
1377
+ 'platform' => 'sles-11-x86_64',
1378
+ 'packaging_platform' => 'sles-11-x86_64'
1379
+ },
1380
+ :vmpooler => {
1381
+ 'template' => 'vro-73-x86_64'
1382
+ }
1383
+ },
1384
+ 'vro74-64' => {
1385
+ :general => {
1386
+ 'platform' => 'sles-11-x86_64',
1387
+ 'packaging_platform' => 'sles-11-x86_64'
1388
+ },
1389
+ :vmpooler => {
1390
+ 'template' => 'vro-74-x86_64'
1391
+ }
1392
+ },
1393
+ 'windows2008-64' => {
1394
+ :general => {
1395
+ 'platform' => 'windows-2008-64',
1396
+ 'packaging_platform' => 'windows-2012-x64',
1397
+ 'ruby_arch' => 'x64'
1398
+ },
1399
+ :vmpooler => {
1400
+ 'template' => 'win-2008-x86_64'
1401
+ }
1402
+ },
1403
+ 'windows2008-6432' => {
1404
+ :general => {
1405
+ 'platform' => 'windows-2008-64',
1406
+ 'packaging_platform' => 'windows-2012-x64',
1407
+ 'ruby_arch' => 'x86'
1408
+ },
1409
+ :vmpooler => {
1410
+ 'template' => 'win-2008-x86_64'
1411
+ }
1412
+ },
1413
+ 'windows2008r2-64' => {
1414
+ :general => {
1415
+ 'platform' => 'windows-2008r2-64',
1416
+ 'packaging_platform' => 'windows-2012-x64',
1417
+ 'ruby_arch' => 'x64'
1418
+ },
1419
+ :vmpooler => {
1420
+ 'template' => 'win-2008r2-x86_64'
1421
+ }
1422
+ },
1423
+ 'windows2008r2-6432' => {
1424
+ :general => {
1425
+ 'platform' => 'windows-2008r2-64',
1426
+ 'packaging_platform' => 'windows-2012-x64',
1427
+ 'ruby_arch' => 'x86'
1428
+ },
1429
+ :vmpooler => {
1430
+ 'template' => 'win-2008r2-x86_64'
1431
+ }
1432
+ },
1433
+ 'windows2012-64' => {
1434
+ :general => {
1435
+ 'platform' => 'windows-2012-64',
1436
+ 'packaging_platform' => 'windows-2012-x64',
1437
+ 'ruby_arch' => 'x64'
1438
+ },
1439
+ :vmpooler => {
1440
+ 'template' => 'win-2012-x86_64'
1441
+ }
1442
+ },
1443
+ 'windows2012-6432' => {
1444
+ :general => {
1445
+ 'platform' => 'windows-2012-64',
1446
+ 'packaging_platform' => 'windows-2012-x64',
1447
+ 'ruby_arch' => 'x86'
1448
+ },
1449
+ :vmpooler => {
1450
+ 'template' => 'win-2012-x86_64'
1451
+ }
1452
+ },
1453
+ 'windows2012r2-64' => {
1454
+ :general => {
1455
+ 'platform' => 'windows-2012r2-64',
1456
+ 'packaging_platform' => 'windows-2012-x64',
1457
+ 'ruby_arch' => 'x64'
1458
+ },
1459
+ :vmpooler => {
1460
+ 'template' => 'win-2012r2-x86_64'
1461
+ }
1462
+ },
1463
+ 'windowsfips2012r2-64' => {
1464
+ :general => {
1465
+ 'platform' => 'windows-2012r2-64',
1466
+ 'packaging_platform' => 'windowsfips-2012-x64',
1467
+ 'ruby_arch' => 'x64'
1468
+ },
1469
+ :vmpooler => {
1470
+ 'template' => 'win-2012r2-fips-x86_64'
1471
+ }
1472
+ },
1473
+ 'windowsfips2012r2-6432' => {
1474
+ :general => {
1475
+ 'platform' => 'windows-2012r2-64',
1476
+ 'packaging_platform' => 'windowsfips-2012-x64',
1477
+ 'ruby_arch' => 'x64'
1478
+ },
1479
+ :vmpooler => {
1480
+ 'template' => 'win-2012r2-fips-x86_64'
1481
+ }
1482
+ },
1483
+ 'windows2012r2-6432' => {
1484
+ :general => {
1485
+ 'platform' => 'windows-2012r2-64',
1486
+ 'packaging_platform' => 'windows-2012-x64',
1487
+ 'ruby_arch' => 'x86'
1488
+ },
1489
+ :vmpooler => {
1490
+ 'template' => 'win-2012r2-x86_64'
1491
+ }
1492
+ },
1493
+ 'windows2012r2_wmf5-64' => {
1494
+ :general => {
1495
+ 'platform' => 'windows-2012r2-64',
1496
+ 'packaging_platform' => 'windows-2012-x64',
1497
+ 'ruby_arch' => 'x64'
1498
+ },
1499
+ :vmpooler => {
1500
+ 'template' => 'win-2012r2-wmf5-x86_64'
1501
+ }
1502
+ },
1503
+ 'windows2012r2_ja-64' => {
1504
+ :general => {
1505
+ 'platform' => 'windows-2012r2-64',
1506
+ 'packaging_platform' => 'windows-2012-x64',
1507
+ 'ruby_arch' => 'x64'
1508
+ },
1509
+ :vmpooler => {
1510
+ 'template' => 'win-2012r2-ja-x86_64',
1511
+ 'locale' => 'ja'
1512
+ }
1513
+ },
1514
+ 'windows2012r2_ja-6432' => {
1515
+ :general => {
1516
+ 'platform' => 'windows-2012r2-64',
1517
+ 'packaging_platform' => 'windows-2012-x64',
1518
+ 'ruby_arch' => 'x86'
1519
+ },
1520
+ :vmpooler => {
1521
+ 'template' => 'win-2012r2-ja-x86_64',
1522
+ 'locale' => 'ja'
1523
+ }
1524
+ },
1525
+ 'windows2012r2_fr-64' => {
1526
+ :general => {
1527
+ 'platform' => 'windows-2012r2-64',
1528
+ 'packaging_platform' => 'windows-2012-x64',
1529
+ 'ruby_arch' => 'x64'
1530
+ },
1531
+ :vmpooler => {
1532
+ 'template' => 'win-2012r2-fr-x86_64',
1533
+ 'user' => 'Administrateur',
1534
+ 'locale' => 'fr'
1535
+ }
1536
+ },
1537
+ 'windows2012r2_fr-6432' => {
1538
+ :general => {
1539
+ 'platform' => 'windows-2012r2-64',
1540
+ 'packaging_platform' => 'windows-2012-x64',
1541
+ 'ruby_arch' => 'x86'
1542
+ },
1543
+ :vmpooler => {
1544
+ 'template' => 'win-2012r2-fr-x86_64',
1545
+ 'user' => 'Administrateur',
1546
+ 'locale' => 'fr'
1547
+ }
1548
+ },
1549
+ 'windows2012r2_core-64' => {
1550
+ :general => {
1551
+ 'platform' => 'windows-2012r2-64',
1552
+ 'packaging_platform' => 'windows-2012-x64',
1553
+ 'ruby_arch' => 'x64'
1554
+ },
1555
+ :vmpooler => {
1556
+ 'template' => 'win-2012r2-core-x86_64'
1557
+ }
1558
+ },
1559
+ 'windows2012r2_core-6432' => {
1560
+ :general => {
1561
+ 'platform' => 'windows-2012r2-64',
1562
+ 'packaging_platform' => 'windows-2012-x64',
1563
+ 'ruby_arch' => 'x86'
1564
+ },
1565
+ :vmpooler => {
1566
+ 'template' => 'win-2012r2-core-x86_64'
1567
+ }
1568
+ },
1569
+ 'windows2016-64' => {
1570
+ :general => {
1571
+ 'platform' => 'windows-2016-64',
1572
+ 'packaging_platform' => 'windows-2012-x64',
1573
+ 'ruby_arch' => 'x64'
1574
+ },
1575
+ :vmpooler => {
1576
+ 'template' => 'win-2016-x86_64'
1577
+ }
1578
+ },
1579
+ 'windows2016-6432' => {
1580
+ :general => {
1581
+ 'platform' => 'windows-2016-64',
1582
+ 'packaging_platform' => 'windows-2012-x64',
1583
+ 'ruby_arch' => 'x86'
1584
+ },
1585
+ :vmpooler => {
1586
+ 'template' => 'win-2016-x86_64'
1587
+ }
1588
+ },
1589
+ 'windows2016_core-64' => {
1590
+ :general => {
1591
+ 'platform' => 'windows-2016-64',
1592
+ 'packaging_platform' => 'windows-2012-x64',
1593
+ 'ruby_arch' => 'x64'
1594
+ },
1595
+ :vmpooler => {
1596
+ 'template' => 'win-2016-core-x86_64'
1597
+ }
1598
+ },
1599
+ 'windows2016_core-6432' => {
1600
+ :general => {
1601
+ 'platform' => 'windows-2016-64',
1602
+ 'packaging_platform' => 'windows-2012-x64',
1603
+ 'ruby_arch' => 'x86'
1604
+ },
1605
+ :vmpooler => {
1606
+ 'template' => 'win-2016-core-x86_64'
1607
+ }
1608
+ },
1609
+ 'windows2016_fr-64' => {
1610
+ :general => {
1611
+ 'platform' => 'windows-2016-64',
1612
+ 'packaging_platform' => 'windows-2012-x64',
1613
+ 'ruby_arch' => 'x64'
1614
+ },
1615
+ :vmpooler => {
1616
+ 'template' => 'win-2016-fr-x86_64',
1617
+ 'user' => 'Administrateur',
1618
+ 'locale' => 'fr'
1619
+ }
1620
+ },
1621
+ 'windows2016_fr-6432' => {
1622
+ :general => {
1623
+ 'platform' => 'windows-2016-64',
1624
+ 'packaging_platform' => 'windows-2012-x64',
1625
+ 'ruby_arch' => 'x86'
1626
+ },
1627
+ :vmpooler => {
1628
+ 'template' => 'win-2016-fr-x86_64',
1629
+ 'user' => 'Administrateur',
1630
+ 'locale' => 'fr'
1631
+ }
1632
+ },
1633
+ 'windows2019-64' => {
1634
+ :general => {
1635
+ 'platform' => 'windows-2019-64',
1636
+ 'packaging_platform' => 'windows-2012-x64',
1637
+ 'ruby_arch' => 'x64'
1638
+ },
1639
+ :vmpooler => {
1640
+ 'template' => 'win-2019-x86_64'
1641
+ }
1642
+ },
1643
+ 'windows2019-6432' => {
1644
+ :general => {
1645
+ 'platform' => 'windows-2019-64',
1646
+ 'packaging_platform' => 'windows-2012-x64',
1647
+ 'ruby_arch' => 'x86'
1648
+ },
1649
+ :vmpooler => {
1650
+ 'template' => 'win-2019-x86_64'
1651
+ }
1652
+ },
1653
+ 'windows2019_ja-64' => {
1654
+ :general => {
1655
+ 'platform' => 'windows-2019-64',
1656
+ 'packaging_platform' => 'windows-2012-x64',
1657
+ 'ruby_arch' => 'x64'
1658
+ },
1659
+ :vmpooler => {
1660
+ 'template' => 'win-2019-ja-x86_64',
1661
+ 'locale' => 'ja'
1662
+ }
1663
+ },
1664
+ 'windows2019_ja-6432' => {
1665
+ :general => {
1666
+ 'platform' => 'windows-2019-64',
1667
+ 'packaging_platform' => 'windows-2012-x64',
1668
+ 'ruby_arch' => 'x86'
1669
+ },
1670
+ :vmpooler => {
1671
+ 'template' => 'win-2019-ja-x86_64',
1672
+ 'locale' => 'ja'
1673
+ }
1674
+ },
1675
+ 'windows2019_fr-64' => {
1676
+ :general => {
1677
+ 'platform' => 'windows-2019-64',
1678
+ 'packaging_platform' => 'windows-2012-x64',
1679
+ 'ruby_arch' => 'x64'
1680
+ },
1681
+ :vmpooler => {
1682
+ 'template' => 'win-2019-fr-x86_64',
1683
+ 'user' => 'Administrateur',
1684
+ 'locale' => 'fr'
1685
+ }
1686
+ },
1687
+ 'windows2019_fr-6432' => {
1688
+ :general => {
1689
+ 'platform' => 'windows-2019-64',
1690
+ 'packaging_platform' => 'windows-2012-x64',
1691
+ 'ruby_arch' => 'x86'
1692
+ },
1693
+ :vmpooler => {
1694
+ 'template' => 'win-2019-fr-x86_64',
1695
+ 'user' => 'Administrateur',
1696
+ 'locale' => 'fr'
1697
+ }
1698
+ },
1699
+ 'windows2019_core-64' => {
1700
+ :general => {
1701
+ 'platform' => 'windows-2019-64',
1702
+ 'packaging_platform' => 'windows-2012-x64',
1703
+ 'ruby_arch' => 'x64'
1704
+ },
1705
+ :vmpooler => {
1706
+ 'template' => 'win-2019-core-x86_64'
1707
+ }
1708
+ },
1709
+ 'windows2019_core-6432' => {
1710
+ :general => {
1711
+ 'platform' => 'windows-2019-64',
1712
+ 'packaging_platform' => 'windows-2012-x64',
1713
+ 'ruby_arch' => 'x86'
1714
+ },
1715
+ :vmpooler => {
1716
+ 'template' => 'win-2019-core-x86_64'
1717
+ }
1718
+ },
1719
+ 'windows7-64' => {
1720
+ :general => {
1721
+ 'platform' => 'windows-7-64',
1722
+ 'packaging_platform' => 'windows-2012-x64',
1723
+ 'ruby_arch' => 'x64'
1724
+ },
1725
+ :vmpooler => {
1726
+ 'template' => 'win-7-x86_64'
1727
+ }
1728
+ },
1729
+ 'windows81-64' => {
1730
+ :general => {
1731
+ 'platform' => 'windows-8.1-64',
1732
+ 'packaging_platform' => 'windows-2012-x64',
1733
+ 'ruby_arch' => 'x64'
1734
+ },
1735
+ :vmpooler => {
1736
+ 'template' => 'win-81-x86_64'
1737
+ }
1738
+ },
1739
+ 'windows10ent-32' => {
1740
+ :general => {
1741
+ 'platform' => 'windows-10ent-32',
1742
+ 'packaging_platform' => 'windows-2012-x86',
1743
+ 'ruby_arch' => 'x86'
1744
+ },
1745
+ :vmpooler => {
1746
+ 'template' => 'win-10-ent-i386'
1747
+ }
1748
+ },
1749
+ 'windows10ent-64' => {
1750
+ :general => {
1751
+ 'platform' => 'windows-10ent-64',
1752
+ 'packaging_platform' => 'windows-2012-x64',
1753
+ 'ruby_arch' => 'x64'
1754
+ },
1755
+ :vmpooler => {
1756
+ 'template' => 'win-10-ent-x86_64'
1757
+ }
1758
+ },
1759
+ 'windows10next-32' => {
1760
+ :general => {
1761
+ 'platform' => 'windows-10ent-32',
1762
+ 'packaging_platform' => 'windows-2012-x86',
1763
+ 'ruby_arch' => 'x86'
1764
+ },
1765
+ :vmpooler => {
1766
+ 'template' => 'win-10-next-i386'
1767
+ }
1768
+ },
1769
+ 'windows10next-64' => {
1770
+ :general => {
1771
+ 'platform' => 'windows-10ent-64',
1772
+ 'packaging_platform' => 'windows-2012-x64',
1773
+ 'ruby_arch' => 'x64'
1774
+ },
1775
+ :vmpooler => {
1776
+ 'template' => 'win-10-next-x86_64'
1777
+ }
1778
+ },
1779
+ 'windows10pro-64' => {
1780
+ :general => {
1781
+ 'platform' => 'windows-10pro-64',
1782
+ 'packaging_platform' => 'windows-2012-x64',
1783
+ 'ruby_arch' => 'x64'
1784
+ },
1785
+ :vmpooler => {
1786
+ 'template' => 'win-10-pro-x86_64'
1787
+ }
1788
+ },
1789
+ 'windows10_1511-64' => {
1790
+ :general => {
1791
+ 'platform' => 'windows-10ent-64',
1792
+ 'packaging_platform' => 'windows-2012-x64',
1793
+ 'ruby_arch' => 'x64'
1794
+ },
1795
+ :vmpooler => {
1796
+ 'template' => 'win-10-1511-x86_64'
1797
+ }
1798
+ },
1799
+ 'windows10_1607-64' => {
1800
+ :general => {
1801
+ 'platform' => 'windows-10ent-64',
1802
+ 'packaging_platform' => 'windows-2012-x64',
1803
+ 'ruby_arch' => 'x64'
1804
+ },
1805
+ :vmpooler => {
1806
+ 'template' => 'win-10-1607-x86_64'
1807
+ }
1808
+ },
1809
+ 'windows10_1809-64' => {
1810
+ :general => {
1811
+ 'platform' => 'windows-10ent-64',
1812
+ 'packaging_platform' => 'windows-2012-x64',
1813
+ 'ruby_arch' => 'x64'
1814
+ },
1815
+ :vmpooler => {
1816
+ 'template' => 'win-10-1809-x86_64'
1817
+ }
1818
+ }
1819
+ }
1820
+ end
1821
+
1822
+ def osinfo_bhgv1
1823
+ {
1824
+ 'centos4-32' => {
1825
+ :general => {
1826
+ 'platform' => 'centos-4-i386'
1827
+ },
1828
+ :vmpooler => {
1829
+ 'template' => 'centos-4-i386'
1830
+ }
1831
+ },
1832
+ 'centos4-64' => {
1833
+ :general => {
1834
+ 'platform' => 'centos-4-x86_64'
1835
+ },
1836
+ :vmpooler => {
1837
+ 'template' => 'centos-4-x86_64'
1838
+ }
1839
+ },
1840
+ 'centos5-32' => {
1841
+ :general => {
1842
+ 'platform' => 'centos-5-i386'
1843
+ },
1844
+ :vmpooler => {
1845
+ 'template' => 'centos-5-i386'
1846
+ }
1847
+ },
1848
+ 'centos5-64' => {
1849
+ :general => {
1850
+ 'platform' => 'centos-5-x86_64'
1851
+ },
1852
+ :vmpooler => {
1853
+ 'template' => 'centos-5-x86_64'
1854
+ }
1855
+ },
1856
+ 'centos6-32' => {
1857
+ :general => {
1858
+ 'platform' => 'centos-6-i386'
1859
+ },
1860
+ :vmpooler => {
1861
+ 'template' => 'centos-6-i386'
1862
+ }
1863
+ },
1864
+ 'centos6-64' => {
1865
+ :general => {
1866
+ 'platform' => 'centos-6-x86_64'
1867
+ },
1868
+ :vmpooler => {
1869
+ 'template' => 'centos-6-x86_64'
1870
+ }
1871
+ },
1872
+ 'centos7-64' => {
1873
+ :general => {
1874
+ 'platform' => 'centos-7-x86_64'
1875
+ },
1876
+ :vmpooler => {
1877
+ 'template' => 'centos-7-x86_64'
1878
+ }
1879
+ }
1880
+ }
1881
+ end
1882
+
1883
+ jenkins_platforms = 'aix61-POWERfa aix71-POWERfa aix72-POWERfa amazon6-64a amazon7-64a debian8-64a debian8-32a debian9-64a debian9-32a debian10-64a fedora28-64a fedora29-64a fedora30-64a fedora31-64a osx1012-64a osx1013-64a osx1014-64a osx1015-64a redhat5-64a centos6-64a centos6-32a centos8-64a redhat7-64a redhat7-POWERa redhat7-AARCH64a redhat8-64a redhatfips7-64a sles11-64a sles11-32a sles12-64a sles12-POWERa sles15-64a solaris10-64a solaris11-64a solaris114-64a ubuntu1404-64a ubuntu1404-32a ubuntu1604-64a ubuntu1604-32a ubuntu1604-POWERa ubuntu1804-64a windows10ent-64a windows10ent-32a windows2008r2-64a windows2012r2-64a windows2016-64a windows2019-64a windowsfips2012r2-64a '
1884
+
1885
+ jenkins_platforms_list = jenkins_platforms.split('a ')
1886
+ jenkins_platforms_list.each do |platform|
1887
+ platform.gsub!('f', '') if platform.start_with?('aix')
1888
+ end
1889
+ jenkins_platforms_list.delete('centos8-64') #it's the same with redhat8
1890
+
1891
+ all_platforms = osinfo
1892
+ all_platforms.merge(osinfo_bhgv1)
1893
+
1894
+ vmpooler_platforms = []
1895
+ nspooler_platforms = {}
1896
+ all_platforms.each do |platform, value|
1897
+ if jenkins_platforms_list.include?(platform) && value.has_key?(:abs) && !platform.start_with?('amazon')
1898
+ nspooler_platforms[platform] = value[:abs]['template']
1899
+ elsif jenkins_platforms_list.include?(platform) && value.has_key?(:vmpooler)
1900
+ vmpooler_platforms << platform
1901
+ end
1902
+ end
1903
+ puts vmpooler_platforms
1904
+ puts nspooler_platforms