Skip to content

Commit

Permalink
Install DOCA during builds
Browse files Browse the repository at this point in the history
  • Loading branch information
assumptionsandg committed Dec 13, 2024
1 parent e0e90b2 commit 0030a24
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/package-build-ofed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ jobs:
run: |
source venvs/kayobe/bin/activate &&
source src/kayobe-config/kayobe-env --environment ci-builder &&
kayobe seed host configure --skip-tags network,docker,docker-registry -e seed_bootstrap_user="cloud-user"
kayobe seed host configure \
--skip-tags network,docker,docker-registry \
-e seed_bootstrap_user="cloud-user" \
-e dnf_install_doca=true \
-e dnf_enable_doca_modules=false
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}

Expand Down
8 changes: 2 additions & 6 deletions etc/kayobe/dnf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ dnf_custom_repos_doca:
description: "OFED Kernel modules for DOCA {{ stackhpc_pulp_doca_version }} - RHEL $releasever"
enabled: "{{ dnf_enable_doca | bool and dnf_enable_doca_modules | bool }}"
priority: -2
file: doca-modules
file: doca
gpgcheck: no
username: "{{ stackhpc_repo_mirror_username | default(omit, true) }}"
password: "{{ stackhpc_repo_mirror_password | default(omit, true) }}"
Expand Down Expand Up @@ -157,7 +157,7 @@ dnf_enable_elrepo_9: "{{ dnf_install_elrepo_9 | bool }}"
dnf_enable_doca: "{{ dnf_install_doca | bool }}"

# Whether to enable the DOCA kernel module repository. This affects RedHat-based systems only.
dnf_enable_doca_modules: "{{ dnf_install_doca_modules | bool }}"
dnf_enable_doca_modules: "{{ dnf_install_doca | bool }}"

# URL of EPEL GPG keys.
dnf_epel_9_gpg_key_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9"
Expand All @@ -179,10 +179,6 @@ dnf_enable_docker: true
#URL of docker repo GPG key
dnf_docker_gpg_key_url: "https://download.docker.com/linux/centos/gpg"

# Whether to create a repo file for DOCA kernel modules. This affects RedHat-based
# systems only.
dnf_install_doca_modules: "{{ dnf_install_doca | bool }}"

# Whether to create a repo file for DOCA. This affects RedHat-based
# systems only.
dnf_install_doca: false
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/environments/ci-builder/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ stackhpc_repo_rocky_9_extras_version: "{{ stackhpc_pulp_repo_rocky_9_extras_vers
stackhpc_repo_rocky_9_crb_version: "{{ stackhpc_pulp_repo_rocky_9_crb_version }}"
stackhpc_repo_rocky_9_highavailability_version: "{{ stackhpc_pulp_repo_rocky_9_highavailability_version }}"
stackhpc_repo_rocky_9_sig_security_common_version: "{{ stackhpc_pulp_repo_rocky_9_sig_security_common_version }}"
stackhpc_repo_rhel9_doca_version: "{{ stackhpc_pulp_repo_rhel9_doca_version }}"

# Rocky-and-CI-specific Pulp urls
stackhpc_include_os_minor_version_in_repo_url: true
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20240911T041957
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20240924T064114
stackhpc_pulp_repo_ubuntu_jammy_version: 20240924T064114
stackhpc_pulp_repo_ceph_reef_debian_version: 20240925T152022
stackhpc_pulp_repo_rhel_9_4_doca_version: 20241112T162334
stackhpc_pulp_repo_rhel_9_4_doca_version: 20241211T153620
stackhpc_pulp_repo_rhel_9_4_doca_modules_version: 20241113T161507

0 comments on commit 0030a24

Please sign in to comment.