Skip to content

Commit 818dd06

Browse files
committed
Implement AIO testing for Rocky 10
New Rocky 10 AIO jobs added to the PR workflow. An override for `kolla_base_distro_version` has been added to the `ci-builder` environment so we can deploy Rocky 10 images (K-A maps to Rocky 9 by default).
1 parent 49f2467 commit 818dd06

3 files changed

Lines changed: 41 additions & 2 deletions

File tree

.github/workflows/stackhpc-pull-request.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,43 @@ jobs:
191191
secrets: inherit
192192
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
193193

194-
# Test two upgrade scenarios: Ubuntu Jammy to Noble OVN and Rocky 9 OVN.
194+
all-in-one-rocky-10-ovs:
195+
name: aio (Rocky 10 OVS)
196+
permissions: {}
197+
needs:
198+
- check-changes
199+
- build-kayobe-image
200+
uses: ./.github/workflows/stackhpc-all-in-one.yml
201+
with:
202+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
203+
os_distribution: rocky
204+
os_release: "10"
205+
ssh_username: cloud-user
206+
neutron_plugin: ovs
207+
OS_CLOUD: openstack
208+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
209+
secrets: inherit
210+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
211+
212+
all-in-one-rocky-10-ovn:
213+
name: aio (Rocky 10 OVN)
214+
permissions: {}
215+
needs:
216+
- check-changes
217+
- build-kayobe-image
218+
uses: ./.github/workflows/stackhpc-all-in-one.yml
219+
with:
220+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
221+
os_distribution: rocky
222+
os_release: "10"
223+
ssh_username: cloud-user
224+
neutron_plugin: ovn
225+
OS_CLOUD: openstack
226+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
227+
secrets: inherit
228+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
229+
230+
# Test three upgrade scenarios: Ubuntu Jammy to Noble OVN and Rocky 9 OVN.
195231

196232
all-in-one-upgrade-ubuntu-jammy-to-noble-ovn:
197233
name: aio upgrade (Ubuntu Jammy to Noble OVN)

etc/kayobe/environments/ci-aio/inventory/group_vars/controllers/network-interfaces

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ethernet_interface: "{{ ansible_facts['default_ipv4']['interface'] }}"
1010
# Controller interface on all-in-one network.
1111
aio_interface: breth1
1212
# Use dummy1 if it exists, otherwise the bridge will have no ports.
13-
aio_bridge_ports: "{{ ['dummy1'] if ('dummy1' in hostvars[inventory_hostname].ansible_facts) or (os_distribution == 'rocky' and os_release == '9') else [] }}"
13+
aio_bridge_ports: "{{ ['dummy1'] if 'dummy1' in hostvars[inventory_hostname].ansible_facts or os_distribution == 'rocky' else [] }}"
1414

1515
###############################################################################
1616
# Dummy variable to allow Ansible to accept this file.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ stackhpc_repo_ubuntu_noble_version: "{{ stackhpc_pulp_repo_ubuntu_noble_version
7070
# Rocky-and-CI-specific Pulp urls
7171
stackhpc_include_os_minor_version_in_repo_url: true
7272

73+
# Override the release used by Kolla to be the control host release
74+
kolla_base_distro_version: "{{ os_release }}"
75+
7376
# Host and port of container registry.
7477
# Push built images to the development Pulp service registry.
7578
stackhpc_docker_registry: "{{ stackhpc_repo_mirror_url | regex_replace('^https?://', '') }}"

0 commit comments

Comments
 (0)