File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
framework/tests_configuration Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -267,23 +267,23 @@ test-suites:
267
267
dimensions :
268
268
- regions : ["euw1-az1"] # do not move, unless capacity reservation is moved as well
269
269
instances : ["c5n.18xlarge"]
270
- oss : ["rhel9" ]
270
+ oss : [{{ OS_X86_0 }} ]
271
271
schedulers : ["slurm"]
272
272
- regions : ["use1-az6"] # do not move, unless capacity reservation is moved as well
273
273
instances : ["p4d.24xlarge"]
274
- oss : ["alinux2"]
274
+ oss : [{{ NO_RHEL_OS_X86_1 }}] # The capacity reservation cannot use RHEL operating system
275
275
schedulers : ["slurm"]
276
276
- regions : ["use1-az6"] # do not move, unless capacity reservation is moved as well
277
277
instances : ["c6gn.16xlarge"]
278
- oss : ["rhel8" ]
278
+ oss : [{{ OS_X86_2 }} ]
279
279
schedulers : ["slurm"]
280
280
- regions : ["use2-az2"] # do not move, unless instance type support is moved as well
281
281
instances : ["hpc6id.32xlarge"]
282
- oss : ["rocky9" ]
282
+ oss : [{{ OS_X86_4 }} ]
283
283
schedulers : [ "slurm" ]
284
284
- regions : ["use2-az2"] # do not move, unless instance type support is moved as well
285
285
instances : [{{ common.instance("instance_type_1") }}]
286
- oss : ["ubuntu2204" ]
286
+ oss : [{{ OS_X86_6 }} ]
287
287
schedulers : [ "slurm" ]
288
288
health_checks :
289
289
test_gpu_health_checks.py::test_cluster_with_gpu_health_checks :
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ def _get_os_parameters(config=None, args=None):
48
48
result [f"DCV_OS_ARM_{ index } " ] = dcv_available_amis_oss_arm [
49
49
(today_number + index ) % len (dcv_available_amis_oss_arm )
50
50
]
51
+
52
+ no_rhel_oss = [os for os in SUPPORTED_OSES if "rhel" not in os ]
53
+ no_rhel_oss_x86 = list (set (no_rhel_oss ) & set (available_amis_oss_x86 ))
54
+ no_rhel_oss_arm = list (set (no_rhel_oss ) & set (available_amis_oss_arm ))
55
+ for index in range (len (no_rhel_oss )):
56
+ result [f"NO_RHEL_OS_X86_{ index } " ] = no_rhel_oss_x86 [(today_number + index ) % len (no_rhel_oss_x86 )]
57
+ result [f"NO_RHEL_OS_ARM_{ index } " ] = no_rhel_oss_arm [(today_number + index ) % len (no_rhel_oss_arm )]
51
58
return result
52
59
53
60
You can’t perform that action at this time.
0 commit comments