Skip to content

Commit 0198c00

Browse files
Apply suggestions from code review
Co-authored-by: Alex-Welsh <[email protected]>
1 parent 147e2f6 commit 0198c00

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
pip install -r ../src/kayobe-config/requirements.txt
7777
7878
- name: Install terraform
79-
uses: hashicorp/setup-terraform@v2
79+
uses: hashicorp/setup-terraform@v3
8080

8181
- name: Initialise terraform
8282
run: terraform init
@@ -228,7 +228,7 @@ jobs:
228228
kayobe playbook run \
229229
src/kayobe-config/etc/kayobe/ansible/pulp-artifact-upload.yml \
230230
-e artifact_path=/opt/kayobe/images/ipa \
231-
-e artifact_type=ipa \
231+
-e artifact_type=ipa-images \
232232
-e artifact_tag=${{ steps.ipa_image_tag.outputs.ipa_image_tag }} \
233233
-e os_distribution="ubuntu" \
234234
-e os_release="jammy" \

doc/source/configuration/ipa.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@ Ironic Python Agent (IPA)
77
Release Train IPA
88
=================
99

10-
StackHPC provides built Ironic Python Agent (IPA) images in Release Train
10+
StackHPC provides prebuilt Ironic Python Agent (IPA) images in Release Train
1111
through Ark.
1212

13-
These images are built in a CI using a Kayobe workflow :kayobe-doc:
14-
`Kayobe documentation <configuration/reference/ironic-python-agent.html>`
15-
and are configured in this repository.
13+
These images are built in CI using a GitHub workflow and are configured in this
14+
repository. See :kayobe-doc: `Kayobe documentation
15+
<configuration/reference/ironic-python-agent.html>` for more details on IPA.
1616

17-
Release Train IPA is used by Bifrost and Overcloud Ironic by default in
18-
StackHPC Kayobe Configuration, and is pulled in to Inspector when running
19-
``kayobe seed service deploy`` for Bifrost or ``kayobe overcloud post configure``
20-
for Ironic. This behaviour can be disabled in `stackhpc-ipa-images.yml`:
17+
Release Train IPA images are used by Bifrost and Overcloud Ironic by default in
18+
the StackHPC Kayobe Configuration, and are pulled in to the Ironic Inspector
19+
when running ``kayobe seed service deploy`` for Bifrost or ``kayobe overcloud
20+
post configure`` for Overcloud Ironic. This behaviour can be disabled in
21+
`stackhpc-ipa-images.yml`:
2122

2223
.. code-block:: yaml
2324

etc/kayobe/bifrost.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
# Ironic Python Agent (IPA) configuration.
136136

137137
# URL of Ironic Python Agent (IPA) kernel image.
138-
kolla_bifrost_ipa_kernel_upstream_url: "{% if stackhpc_ipa_image_bifrost_enabled | bool %}{{ stackhpc_ipa_image_url }}/ipa.kernel{% endif %}"
138+
kolla_bifrost_ipa_kernel_upstream_url: "{{ (stackhpc_ipa_image_url + '/ipa.kernel') if stackhpc_ipa_image_bifrost_enabled | bool }}"
139139

140140
# URL of checksum of Ironic Python Agent (IPA) kernel image.
141141
#kolla_bifrost_ipa_kernel_checksum_url:
@@ -144,7 +144,7 @@ kolla_bifrost_ipa_kernel_upstream_url: "{% if stackhpc_ipa_image_bifrost_enabled
144144
#kolla_bifrost_ipa_kernel_checksum_algorithm:
145145

146146
# URL of Ironic Python Agent (IPA) ramdisk image.
147-
kolla_bifrost_ipa_ramdisk_upstream_url: "{% if stackhpc_ipa_image_bifrost_enabled | bool %}{{ stackhpc_ipa_image_url }}/ipa.initramfs{% endif %}"
147+
kolla_bifrost_ipa_ramdisk_upstream_url: "{{ (stackhpc_ipa_image_url + '/ipa.initramfs') if stackhpc_ipa_image_bifrost_enabled | bool }}"
148148

149149
# URL of checksum of Ironic Python Agent (IPA) ramdisk image.
150150
#kolla_bifrost_ipa_ramdisk_checksum_url:

etc/kayobe/stackhpc-ipa-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ stackhpc_ipa_image_overcloud_enabled: true
1010

1111
# The IPA image source, defined by os_distribution,
1212
# os_release, and the current stable version.
13-
stackhpc_ipa_image_url: "{{ stackhpc_release_pulp_content_url }}/ipa/\
13+
stackhpc_ipa_image_url: "{{ stackhpc_release_pulp_content_url }}/ipa-images/\
1414
{{ openstack_release }}/{{ os_distribution }}/\
1515
{{ os_release }}/{{ stackhpc_ipa_image_version }}"
1616

0 commit comments

Comments
 (0)