Skip to content

Commit 70a7dc5

Browse files
committed
Testing test CI steps on Blossom k8s
Signed-off-by: NirWolfer <[email protected]>
1 parent 548a1b6 commit 70a7dc5

File tree

2 files changed

+25
-31
lines changed

2 files changed

+25
-31
lines changed

.ci/matrix_job.yaml

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,13 @@ runs_on_dockers:
107107
tag: '20250219',
108108
build_args: '--no-cache --target test',
109109
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}',
113113
caps_add: '[ IPC_LOCK, SYS_RESOURCE ]',
114+
nodeSelector: 'nvidia.com/node_type: builder',
114115
runAsUser: '0',
115-
runAsGroup: '0',
116-
cloud: swx-k8s-spray,
117-
namespace: xlio-ci
116+
runAsGroup: '0'
118117
}
119118
- {
120119
file: '.ci/dockerfiles/Dockerfile.ubuntu22.04',
@@ -124,32 +123,29 @@ runs_on_dockers:
124123
tag: '20250219',
125124
build_args: '--no-cache --target vg',
126125
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}',
130129
caps_add: '[ IPC_LOCK, SYS_RESOURCE ]',
130+
nodeSelector: 'nvidia.com/node_type: builder',
131131
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'
152133
}
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+
# }
153149

154150
matrix:
155151
axes:

contrib/jenkins_tests/gtest.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,4 @@ done
146146

147147
echo "[${0##*/}]..................exit code = $rc"
148148

149-
sleep 180000
150-
151149
exit $rc

0 commit comments

Comments
 (0)