Skip to content

Commit

Permalink
add cross-arch aarch64 container image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bbezak committed Oct 1, 2024
1 parent 8f9e962 commit 17a9ddb
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/stackhpc-container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
type: boolean
required: false
default: true
overcloud-r9-aarch64:
description: Build overcloud Rocky Linux 9 AARCH64 images?
type: boolean
required: false
default: false
seed:
description: Build seed images?
type: boolean
Expand Down Expand Up @@ -180,7 +185,7 @@ jobs:
run: |
args="${{ inputs.regexes }}"
args="$args -e kolla_base_distro=${{ matrix.distro }}"
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}"
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}-amd64"
args="$args -e stackhpc_repo_mirror_auth_proxy_enabled=true"
source venvs/kayobe/bin/activate &&
source src/kayobe-config/kayobe-env --environment ci-builder &&
Expand All @@ -189,6 +194,22 @@ jobs:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: inputs.overcloud

- name: Build kolla overcloud images Rocky 9 AARCH64
id: build_overcloud_images_r9_aarch64
continue-on-error: true
run: |
args="${{ inputs.regexes }}"
args="$args -e kolla_base_distro=rocky"
args="$args -e kolla_base_arch=aarch64"
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}-aarch64"
args="$args -e stackhpc_repo_mirror_auth_proxy_enabled=true"
source venvs/kayobe/bin/activate &&
source src/kayobe-config/kayobe-env --environment ci-builder &&
kayobe overcloud container image build $args
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: inputs.overcloud-r9-aarch64

- name: Copy overcloud container image build logs to output directory
run: sudo mv /var/log/kolla-build.log image-build-logs/kolla-build-overcloud.log
if: inputs.overcloud
Expand Down

0 comments on commit 17a9ddb

Please sign in to comment.