Skip to content

Commit d64e204

Browse files
committed
try this out?
1 parent 54a6235 commit d64e204

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

etc/kayobe/environments/ci-builder/stackhpc-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ ipa_build_images: true
109109
ipa_build_dib_env_extra:
110110
DISTRO_NAME: "{{ ipa_ci_builder_distribution | default('ubuntu') }}"
111111
DIB_RELEASE: "{{ ipa_ci_builder_release | default('noble') }}"
112+
DIB_CONTAINERFILE_BUILDOPTS: >-
113+
{% if os_distribution == 'rocky' and os_release == '10' %}
114+
--build-arg=ROCKY_USE_CUSTOM_DNF_MIRRORS=true
115+
--build-arg=ROCKY_CUSTOM_DNF_MIRROR_URLS={{ [stackhpc_repo_rocky_10_baseos_url, stackhpc_repo_rocky_10_appstream_url, stackhpc_repo_rocky_10_stackhpc_extras_url] | join(',') }}
116+
{% endif %}
117+
# Ensure upstream repofiles are re-enabled after image build, otherwise `yum.repos.d` is left empty
118+
DIB_ROCKY_CONTAINER_STACKHPC_RESTORE_UPSTREAM_REPOFILES: true
112119

113120
# Ensure Ark repos are disabled during CI runs, this is due to
114121
# builder being a member of the 'overcloud' group for IPA builds.

0 commit comments

Comments
 (0)