Skip to content

Commit 8c36364

Browse files
Set distro in builder config
1 parent ef11c5e commit 8c36364

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206
kayobe overcloud deployment image build --force-rebuild \
207207
-e os_distribution="ubuntu" \
208208
-e os_release="jammy" \
209-
-e ipa_build_dib_env_extra='{"DISTRO_NAME": "ubuntu"}'
209+
-e ipa_ci_builder_distribution="ubuntu"
210210
env:
211211
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
212212
if: inputs.ubuntu-jammy
@@ -262,7 +262,7 @@ jobs:
262262
kayobe overcloud deployment image build --force-rebuild \
263263
-e os_distribution="rocky" \
264264
-e os_release="9" \
265-
-e ipa_build_dib_env_extra='{"DISTRO_NAME": "rocky"}'
265+
-e ipa_ci_builder_distribution="rocky"
266266
env:
267267
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
268268
if: inputs.rocky9

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,5 @@ stackhpc_release_pulp_password: "{{ stackhpc_docker_registry_password }}"
9999

100100
# Build during IPA builder workflow
101101
ipa_build_images: true
102+
ipa_build_dib_env_extra:
103+
DISTRO_NAME: "{{ ipa_ci_builder_distribution | default('ubuntu') }}"

0 commit comments

Comments
 (0)