Skip to content

Commit 8799e9b

Browse files
committed
TESTING BLSM sriov
Signed-off-by: NirWolfer <[email protected]>
1 parent 56834a7 commit 8799e9b

File tree

2 files changed

+11
-31
lines changed

2 files changed

+11
-31
lines changed

.ci/matrix_job.yaml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,12 @@ runs_on_dockers:
5353
tag: '20250219',
5454
build_args: '--no-cache --target test',
5555
category: 'tests',
56-
annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p1' }],
57-
limits: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox.com/sriov_cx6dx_p1: 1}',
58-
requests: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox.com/sriov_cx6dx_p1: 1}',
56+
annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6-p1' }],
57+
limits: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia.com/sriov-cx6-p1: 1}',
58+
requests: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia.com/sriov-cx6-p1: 1}',
5959
caps_add: '[ IPC_LOCK, SYS_RESOURCE ]',
6060
runAsUser: '0',
6161
runAsGroup: '0',
62-
cloud: swx-k8s-spray,
63-
namespace: default
6462
}
6563
- {
6664
file: '.ci/dockerfiles/Dockerfile.ubuntu22.04',
@@ -70,14 +68,12 @@ runs_on_dockers:
7068
tag: '20250219',
7169
build_args: '--no-cache --target vg',
7270
category: 'tool',
73-
annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p2' }],
74-
limits: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox.com/sriov_cx6dx_p2: 1}',
75-
requests: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, mellanox.com/sriov_cx6dx_p2: 1}',
71+
annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6-p2' }],
72+
limits: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia.com/sriov-cx6-p2: 1}',
73+
requests: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 10Gi, nvidia.com/sriov-cx6-p2: 1}',
7674
caps_add: '[ IPC_LOCK, SYS_RESOURCE ]',
7775
runAsUser: '0',
7876
runAsGroup: '0',
79-
cloud: swx-k8s-spray,
80-
namespace: default
8177
}
8278
- {
8379
file: '.ci/dockerfiles/Dockerfile.ubuntu22.04',
@@ -87,14 +83,12 @@ runs_on_dockers:
8783
tag: '20250219',
8884
build_args: '--no-cache --target gtest',
8985
category: 'tests',
90-
annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6dx-p1@net1,sriov-cx6dx-p2@net2' }],
91-
limits: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 8Gi, mellanox.com/sriov_cx6dx_p1: 1, mellanox.com/sriov_cx6dx_p2: 1}',
92-
requests: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 8Gi, mellanox.com/sriov_cx6dx_p1: 1, mellanox.com/sriov_cx6dx_p2: 1}',
86+
annotations: [{ key: 'k8s.v1.cni.cncf.io/networks', value: 'sriov-cx6-p1@net1,sriov-cx6-p2@net2' }],
87+
limits: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 8Gi, nvidia.com/sriov-cx6-p1: 1,nvidia.com/sriov-cx6-p2: 1}',
88+
requests: '{memory: 10Gi, cpu: 10000m, hugepages-2Mi: 8Gi, nvidia.com/sriov-cx6-p1: 1,nvidia.com/sriov-cx6-p2: 1}',
9389
caps_add: '[ IPC_LOCK, SYS_RESOURCE ]',
9490
runAsUser: '0',
9591
runAsGroup: '0',
96-
cloud: swx-k8s-spray,
97-
namespace: default
9892
}
9993

10094
matrix:

.ci/proj_jjb.yaml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- job-template:
22
name: "{jjb_proj}"
33
project-type: pipeline
4-
folder: libvma
4+
folder: devops/testing_zones/nwolfer
55
properties:
66
- github:
77
url: "https://github.com/Mellanox/libvma"
@@ -106,20 +106,6 @@
106106
name: "do_copyrights"
107107
default: true
108108
description: "Check copyrights in source headers"
109-
triggers:
110-
- github-pull-request:
111-
cron: 'H/5 * * * *'
112-
trigger-phrase: '.*\bbot:retest\b.*'
113-
status-context: "{jjb_proj}"
114-
success-status: "[PASS]"
115-
failure-status: "[FAIL]"
116-
error-status: "[FAIL]"
117-
status-add-test-results: true
118-
auth-id: 'swx-jenkins_ssh_key'
119-
org-list: ["Mellanox"]
120-
white-list: ["swx-jenkins","swx-jenkins2","swx-jenkins3","mellanox-github"]
121-
allow-whitelist-orgs-as-admins: true
122-
cancel-builds-on-update: true
123109
pipeline-scm:
124110
scm:
125111
- git:
@@ -135,7 +121,7 @@
135121
- project:
136122
name: libvma
137123
jjb_email: '[email protected]'
138-
jjb_proj: 'LibVMA'
124+
jjb_proj: 'libvma-copy'
139125
jjb_git: '[email protected]:Mellanox/libvma.git'
140126
jjb_owner: 'Nir Wolfer'
141127
jobs:

0 commit comments

Comments
 (0)