Skip to content

Commit 17a9ddb

Browse files
committed
add cross-arch aarch64 container image builds
1 parent 8f9e962 commit 17a9ddb

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
type: boolean
1414
required: false
1515
default: true
16+
overcloud-r9-aarch64:
17+
description: Build overcloud Rocky Linux 9 AARCH64 images?
18+
type: boolean
19+
required: false
20+
default: false
1621
seed:
1722
description: Build seed images?
1823
type: boolean
@@ -180,7 +185,7 @@ jobs:
180185
run: |
181186
args="${{ inputs.regexes }}"
182187
args="$args -e kolla_base_distro=${{ matrix.distro }}"
183-
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}"
188+
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}-amd64"
184189
args="$args -e stackhpc_repo_mirror_auth_proxy_enabled=true"
185190
source venvs/kayobe/bin/activate &&
186191
source src/kayobe-config/kayobe-env --environment ci-builder &&
@@ -189,6 +194,22 @@ jobs:
189194
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
190195
if: inputs.overcloud
191196

197+
- name: Build kolla overcloud images Rocky 9 AARCH64
198+
id: build_overcloud_images_r9_aarch64
199+
continue-on-error: true
200+
run: |
201+
args="${{ inputs.regexes }}"
202+
args="$args -e kolla_base_distro=rocky"
203+
args="$args -e kolla_base_arch=aarch64"
204+
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}-aarch64"
205+
args="$args -e stackhpc_repo_mirror_auth_proxy_enabled=true"
206+
source venvs/kayobe/bin/activate &&
207+
source src/kayobe-config/kayobe-env --environment ci-builder &&
208+
kayobe overcloud container image build $args
209+
env:
210+
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
211+
if: inputs.overcloud-r9-aarch64
212+
192213
- name: Copy overcloud container image build logs to output directory
193214
run: sudo mv /var/log/kolla-build.log image-build-logs/kolla-build-overcloud.log
194215
if: inputs.overcloud

0 commit comments

Comments
 (0)