Skip to content

Commit 0f339f1

Browse files
committed
do these actually get passed anywhere?
1 parent 50e36ff commit 0f339f1

4 files changed

Lines changed: 22 additions & 5 deletions

File tree

.github/workflows/ipa-image-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,7 @@ jobs:
282282
source venvs/kayobe/bin/activate &&
283283
source src/kayobe-config/kayobe-env --environment ci-builder &&
284284
kayobe overcloud deployment image build --force-rebuild \
285-
-e os_distribution="rocky" \
286-
-e os_release="9" \
287-
-e ipa_ci_builder_distribution="rocky" \
288-
-e ipa_ci_builder_release="9"
285+
-e ipa_ci_builder_release="10-stream"
289286
env:
290287
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
291288
if: inputs.rocky9

.github/workflows/ipa-image-promote.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: Promote Rocky Linux 9
88
type: boolean
99
default: true
10+
rocky10:
11+
description: Promote Rocky Linux 10
12+
type: boolean
13+
default: true
1014
ubuntu-noble:
1115
description: Promote Ubuntu 24.04 Noble
1216
type: boolean
@@ -25,7 +29,7 @@ jobs:
2529
steps:
2630
- name: Validate inputs
2731
run: |
28-
if [[ ${{ inputs.rocky9 }} == 'false' && ${{ inputs.ubuntu-noble }} == 'false' ]]; then
32+
if [[ ${{ inputs.rocky9 }} == 'false' && ${{ inputs.rocky10 }} == 'false' && ${{ inputs.ubuntu-noble }} == 'false' ]]; then
2933
echo "At least one distribution must be selected"
3034
exit 1
3135
fi
@@ -85,6 +89,20 @@ jobs:
8589
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
8690
if: inputs.rocky9
8791

92+
- name: Promote Rocky Linux 10 IPA image artifact
93+
run: |
94+
source venvs/kayobe/bin/activate &&
95+
source src/kayobe-config/kayobe-env --environment ci-builder &&
96+
kayobe playbook run \
97+
src/kayobe-config/etc/kayobe/ansible/pulp/pulp-artifact-promote.yml \
98+
-e artifact_type="ipa-images" \
99+
-e os_distribution='rocky' \
100+
-e os_release='10'
101+
env:
102+
ARTIFACT_TAG: ${{ inputs.image_tag }}
103+
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
104+
if: inputs.rocky10
105+
88106
- name: Promote Ubuntu Noble 24.04 IPA image artifact
89107
run: |
90108
source venvs/kayobe/bin/activate &&
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
# IPA image versioning tags
33
stackhpc_rocky_9_ipa_image_version: "2025.1-20250929T120332"
4+
45
stackhpc_ubuntu_noble_ipa_image_version: "2025.1-20250929T120332"

etc/kayobe/stackhpc-ipa-images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ stackhpc_ipa_image_url: "{{ stackhpc_release_pulp_content_url }}/ipa-images/\
1717
# IPA image version tag selection
1818
stackhpc_ipa_image_version: >-
1919
{{ stackhpc_rocky_9_ipa_image_version if os_distribution == 'rocky' and os_release == '9' else
20+
2021
stackhpc_ubuntu_noble_ipa_image_version if os_distribution == 'ubuntu' and os_release == 'noble' }}

0 commit comments

Comments
 (0)