Skip to content

Commit

Permalink
Set distro in builder config
Browse files Browse the repository at this point in the history
  • Loading branch information
assumptionsandg committed Dec 4, 2024
1 parent 78e44e0 commit 92ffda9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package-build-ofed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
kayobe overcloud deployment image build --force-rebuild \
-e os_distribution="ubuntu" \
-e os_release="jammy" \
-e ipa_build_dib_env_extra='{"DISTRO_NAME": "ubuntu"}'
-e ipa_ci_builder_distribution="ubuntu"
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: inputs.ubuntu-jammy
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
kayobe overcloud deployment image build --force-rebuild \
-e os_distribution="rocky" \
-e os_release="9" \
-e ipa_build_dib_env_extra='{"DISTRO_NAME": "rocky"}'
-e ipa_ci_builder_distribution="rocky"
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: inputs.rocky9
Expand Down
2 changes: 2 additions & 0 deletions etc/kayobe/environments/ci-builder/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,5 @@ stackhpc_release_pulp_password: "{{ stackhpc_docker_registry_password }}"

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

0 comments on commit 92ffda9

Please sign in to comment.