Files
kayobe/releasenotes/notes/cross-arch-builds-5b5b7810beab4cca.yaml
Michal Nasiadka 996651b478 kolla-build: Add support for cross-arch builds
When kolla_base_arch and ansible_facts.architecture differs
we need to run multiarch/qemu-user-static image - see [1].

[1]: https://github.com/multiarch/qemu-user-static

Co-Authored-By: Bartosz Bezak <bartosz@stackhpc.com>

Change-Id: If149418f509c687c3e5d1072cc39a80af33dec5a
2024-09-27 14:28:21 +02:00

14 lines
612 B
YAML

---
features:
- |
The `kolla_base_arch` variable has been introduced, allowing users
to specify the architecture for base container images. This supports
cross-architecture builds, enabling the building of images for
architectures different from the host machine (e.g., building
`aarch64` images on an `x86_64` machine).
By default, `kolla_base_arch` is set to the detected architecture
(`{{ ansible_facts.architecture }}`). However, when `kolla_base_arch`
differs from the host architecture, the `multiarch/qemu-user-static`
image is used to facilitate cross-arch builds.