@@ -107,14 +107,13 @@ runs_on_dockers:
107
107
tag : ' 20250219' ,
108
108
build_args : ' --no-cache --target test' ,
109
109
category : ' tests' ,
110
- annotations : [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p1' }],
111
- limits : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox .com/sriov_cx6dx_p1 : 1}' ,
112
- requests : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox .com/sriov_cx6dx_p1 : 1}' ,
110
+ annotations : [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p1' }, { key: 'nvidia.com/node_type', value: 'builder'} ],
111
+ limits : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia .com/sriov-cx6-p1 : 1}' ,
112
+ requests : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia .com/sriov-cx6-p1 : 1}' ,
113
113
caps_add : ' [ IPC_LOCK, SYS_RESOURCE ]' ,
114
+ nodeSelector : ' nvidia.com/node_type: builder' ,
114
115
runAsUser : ' 0' ,
115
- runAsGroup : ' 0' ,
116
- cloud : swx-k8s-spray,
117
- namespace : xlio-ci
116
+ runAsGroup : ' 0'
118
117
}
119
118
- {
120
119
file : ' .ci/dockerfiles/Dockerfile.ubuntu22.04' ,
@@ -124,32 +123,29 @@ runs_on_dockers:
124
123
tag : ' 20250219' ,
125
124
build_args : ' --no-cache --target vg' ,
126
125
category : ' tool' ,
127
- annotations : [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p2' }],
128
- limits : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox .com/sriov_cx6dx_p2 : 1}' ,
129
- requests : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox .com/sriov_cx6dx_p2 : 1}' ,
126
+ annotations : [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6-p1' }, { key: 'nvidia.com/node_type', value: 'builder' }],
127
+ limits : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia .com/sriov-cx6-p1 : 1}' ,
128
+ requests : ' {memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia .com/sriov-cx6-p1 : 1}' ,
130
129
caps_add : ' [ IPC_LOCK, SYS_RESOURCE ]' ,
130
+ nodeSelector : ' nvidia.com/node_type: builder' ,
131
131
runAsUser : ' 0' ,
132
- runAsGroup : ' 0' ,
133
- cloud : swx-k8s-spray,
134
- namespace : xlio-ci
135
- }
136
- - {
137
- file : ' .ci/dockerfiles/Dockerfile.ubuntu22.04' ,
138
- arch : ' x86_64' ,
139
- name : ' gtest' ,
140
- uri : ' xlio/$arch/ubuntu22.04/$name' ,
141
- tag : ' 20250219' ,
142
- build_args : ' --no-cache --target gtest' ,
143
- category : ' tests' ,
144
- annotations : [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p1@net1,sriov-cx6dx-p2@net2' }],
145
- limits : ' {memory: 12Gi, cpu: 10000m, hugepages-2Mi: 8Gi, mellanox.com/sriov_cx6dx_p1: 1, mellanox.com/sriov_cx6dx_p2: 1}' ,
146
- requests : ' {memory: 12Gi, cpu: 10000m, hugepages-2Mi: 8Gi, mellanox.com/sriov_cx6dx_p1: 1, mellanox.com/sriov_cx6dx_p2: 1}' ,
147
- caps_add : ' [ IPC_LOCK, SYS_RESOURCE ]' ,
148
- runAsUser : ' 0' ,
149
- runAsGroup : ' 0' ,
150
- cloud : swx-k8s-spray,
151
- namespace : xlio-ci
132
+ runAsGroup : ' 0'
152
133
}
134
+ # - {
135
+ # file: '.ci/dockerfiles/Dockerfile.ubuntu22.04',
136
+ # arch: 'x86_64',
137
+ # name: 'gtest',
138
+ # uri: 'xlio/$arch/ubuntu22.04/$name',
139
+ # tag: '20250219',
140
+ # build_args: '--no-cache --target gtest',
141
+ # category: 'tests',
142
+ # annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p1@net1,sriov-cx6dx-p2@net2' }],
143
+ # limits: '{memory: 12Gi, cpu: 10000m, hugepages-2Mi: 8Gi, nvidia.com/sriov_cx6dx_p1: 1, nvidia.com/sriov_cx6dx_p2: 1}',
144
+ # requests: '{memory: 12Gi, cpu: 10000m, hugepages-2Mi: 8Gi, nvidia.com/sriov_cx6dx_p1: 1, nvidia.com/sriov_cx6dx_p2: 1}',
145
+ # caps_add: '[ IPC_LOCK, SYS_RESOURCE ]',
146
+ # runAsUser: '0',
147
+ # runAsGroup: '0'
148
+ # }
153
149
154
150
matrix :
155
151
axes :
0 commit comments