Skip to content

Commit b3e32bc

Browse files
committed
Split kitchen tests for x64 and arm
This to avoid mutual termination when running tests for the different architecture in parallel. Signed-off-by: Luca Carrogu <[email protected]>
1 parent 9996adb commit b3e32bc

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

.kitchen.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ suites:
6565
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
6666
os: <%= ENV['OS'] %>
6767

68-
- name: slurm_config_HeadNode
69-
run_list:
68+
- name: slurm_config_HeadNode_x86_64
69+
run_list: &run_lists_slurm_config_HeadNode
7070
- recipe[aws-parallelcluster::prep_env]
7171
- recipe[aws-parallelcluster::slurm_config]
7272
- recipe[aws-parallelcluster::finalize]
7373
- recipe[aws-parallelcluster::tests]
74-
attributes:
74+
attributes: &attributes_slurm_config_HeadNode
7575
kitchen: true
7676
cluster:
7777
node_type: 'HeadNode'
@@ -98,13 +98,17 @@ suites:
9898
nvidia:
9999
enabled: <%= ENV['NVIDIA_ENABLED'] %>
100100

101-
- name: awsbatch_config_HeadNode
102-
run_list:
101+
- name: slurm_config_HeadNode_arm64
102+
run_list: *run_lists_slurm_config_HeadNode
103+
attributes: *attributes_slurm_config_HeadNode
104+
105+
- name: awsbatch_config_HeadNode_x86_64
106+
run_list: &run_lists_awsbatch_config_HeadNode
103107
- recipe[aws-parallelcluster::prep_env]
104108
- recipe[aws-parallelcluster::awsbatch_config]
105109
- recipe[aws-parallelcluster::finalize]
106110
- recipe[aws-parallelcluster::tests]
107-
attributes:
111+
attributes: &attributes_awsbatch_config_HeadNode
108112
kitchen: true
109113
cluster:
110114
node_type: 'HeadNode'
@@ -127,13 +131,17 @@ suites:
127131
nvidia:
128132
enabled: <%= ENV['NVIDIA_ENABLED'] %>
129133

130-
- name: slurm_config_ComputeFleet
131-
run_list:
134+
- name: awsbatch_config_HeadNode_arm64
135+
run_list: *run_lists_awsbatch_config_HeadNode
136+
attributes: *attributes_awsbatch_config_HeadNode
137+
138+
- name: slurm_config_ComputeFleet_x86_64
139+
run_list: &run_lists_slurm_config_ComputeFleet
132140
- recipe[aws-parallelcluster::prep_env]
133141
- recipe[aws-parallelcluster::slurm_config]
134142
- recipe[aws-parallelcluster::finalize]
135143
- recipe[aws-parallelcluster::tests]
136-
attributes:
144+
attributes: &attributes_slurm_config_ComputeFleet
137145
kitchen: true
138146
cluster:
139147
node_type: 'ComputeFleet'
@@ -157,3 +165,7 @@ suites:
157165
enable_efa: 'compute'
158166
nvidia:
159167
enabled: <%= ENV['NVIDIA_ENABLED'] %>
168+
169+
- name: slurm_config_ComputeFleet_arm64
170+
run_list: *run_lists_slurm_config_ComputeFleet
171+
attributes: *attributes_slurm_config_ComputeFleet

0 commit comments

Comments
 (0)