Skip to content

Commit 1919f22

Browse files
Only build kernel modules
1 parent 594b898 commit 1919f22

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
lines changed

.github/workflows/package-build-ofed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Build OFED packages
2+
name: Build OFED kernel modules
33
on:
44
workflow_dispatch:
55
inputs:
@@ -23,7 +23,7 @@ env:
2323
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
2424
jobs:
2525
overcloud-ofed-packages:
26-
name: Build OFED packages
26+
name: Build OFED kernel modules
2727
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
2828
runs-on: arc-skc-host-image-builder-runner
2929
permissions: {}

etc/kayobe/ansible/build-ofed-rocky.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
- name: Build OFED packages
2+
- name: Build OFED kernel modules
33
become: true
44
hosts: ofed-builder
55
gather_facts: false
@@ -41,7 +41,7 @@
4141

4242
- name: Add DOCA host repository package
4343
ansible.builtin.dnf:
44-
name: https://developer.nvidia.com/downloads/networking/secure/doca-sdk/DOCA_{{ stackhpc_pulp_doca_version }}/doca-host-{{ stackhpc_pulp_doca_host_version }}-{{ stackhpc_pulp_doca_host_minor_version }}_{{ stackhpc_pulp_doca_ofed_version }}_rhel9{{ stackhpc_pulp_repo_rocky_9_minor_version }}.x86_64.rpm
44+
name: https://developer.nvidia.com/downloads/networking/secure/doca-sdk/DOCA_{{ stackhpc_pulp_doca_version[:2] }}/doca-host-{{ stackhpc_pulp_doca_version }}-{{ stackhpc_pulp_doca_host_minor_version }}_{{ stackhpc_pulp_doca_ofed_version }}_rhel9{{ stackhpc_pulp_repo_rocky_9_minor_version }}.x86_64.rpm
4545
disable_gpg_check: true
4646

4747
- name: Install DOCA extra packages
@@ -64,9 +64,3 @@
6464
ansible.builtin.shell:
6565
cmd: |
6666
TERM=linux /opt/mellanox/doca/tools/doca-kernel-support
67-
68-
- name: Download OFED userspace packages
69-
ansible.builtin.dnf:
70-
name: doca-ofed-userspace
71-
download_only: true
72-
download_dir: /home/stack/ofed

etc/kayobe/ofed.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,26 @@
22
# DOCA OFED configuration.
33

44
###############################################################################
5-
# DOCA versions
6-
stackhpc_pulp_doca_version: 2.8
7-
85
# DOCA host version
9-
stackhpc_pulp_doca_host_version: 2.8.0
10-
stackhpc_pulp_doca_host_minor_version: 204000
6+
stackhpc_pulp_doca_version: 2.8.0
7+
stackhpc_pulp_doca_minor_version: 204000
118

129
# DOCA OFED version
1310
stackhpc_pulp_doca_ofed_version: 24.07
1411

1512
###############################################################################
1613
# Pulp configuration for DOCA OFED
1714

18-
# Whether to sync OFED packages into the local Pulp service
19-
stackhpc_pulp_sync_ofed: false
15+
# Whether to sync OFED kernel module packages into the local Pulp service
16+
stackhpc_pulp_sync_ofed_modules: false
2017

21-
# OFED repository for Rocky 9
18+
# OFED kernel module repository for Rocky 9
2219
stackhpc_pulp_repo_doca_ofed_rhel9:
23-
name: Mellanox Technologies doca_ofed {{ stackhpc_pulp_doca_ofed_version }} Rocky 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
24-
url: "{{ stackhpc_release_pulp_content_url }}/doca_ofed/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
25-
distribution_name: "mlnx-ofed-{{ stackhpc_pulp_doca_ofed_version }}-rocky-9-{{ stackhpc_pulp_repo_rocky_9_minor_version }}-"
26-
base_path: "mlnx_ofed/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
27-
required: "{{ stackhpc_pulp_sync_ofed | bool and stackhpc_pulp_sync_el_9 | bool }}"
20+
name: OFED Kernel modules for DOCA {{ stackhpc_pulp_doca_ofed_version }} Rocky 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
21+
url: "{{ stackhpc_release_pulp_content_url }}/doca_modules/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
22+
distribution_name: "doca-modules-"
23+
base_path: "doca-modules/{{ stackhpc_pulp_doca_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64/"
24+
required: "{{ stackhpc_pulp_sync_ofed_modules | bool and stackhpc_pulp_sync_el_9 | bool }}"
2825

2926
###############################################################################
3027
# Dummy variable to allow Ansible to accept this file.

0 commit comments

Comments
 (0)