Merge "CI: Build aarch64 images on x86"
This commit is contained in:
commit
694cb421b5
@ -49,8 +49,11 @@
|
|||||||
- job:
|
- job:
|
||||||
name: kolla-build-debian-aarch64
|
name: kolla-build-debian-aarch64
|
||||||
parent: kolla-build-debian
|
parent: kolla-build-debian
|
||||||
nodeset: kolla-debian-bookworm-aarch64
|
# NOTE(mnasiadka): Switch to aarch64 nodeset when nodes are fixed
|
||||||
|
nodeset: kolla-debian-bookworm
|
||||||
voting: false
|
voting: false
|
||||||
|
vars:
|
||||||
|
base_arch: aarch64
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: kolla-publish-debian-dockerhub
|
name: kolla-publish-debian-dockerhub
|
||||||
|
@ -201,3 +201,9 @@
|
|||||||
become: true
|
become: true
|
||||||
when:
|
when:
|
||||||
- container_engine == "podman"
|
- container_engine == "podman"
|
||||||
|
|
||||||
|
- name: Run multiarch/qemu-user-static image to support cross-arch build
|
||||||
|
command:
|
||||||
|
cmd: "{{ container_engine }} run --rm --privileged multiarch/qemu-user-static --reset -p yes"
|
||||||
|
become: true
|
||||||
|
when: ansible_facts.architecture != (base_arch | default('x86_64'))
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
logs_dir: "{{ kolla_build_logs_dir }}"
|
logs_dir: "{{ kolla_build_logs_dir }}"
|
||||||
quiet: true
|
quiet: true
|
||||||
base: "{{ base_distro }}"
|
base: "{{ base_distro }}"
|
||||||
|
base_arch: "{{ base_arch | default('x86_64') }}"
|
||||||
engine: "{{ container_engine }}"
|
engine: "{{ container_engine }}"
|
||||||
template_override: /etc/kolla/template_overrides.j2
|
template_override: /etc/kolla/template_overrides.j2
|
||||||
# NOTE(yoctozepto): to avoid issues with IPv6 not enabled in the docker daemon
|
# NOTE(yoctozepto): to avoid issues with IPv6 not enabled in the docker daemon
|
||||||
|
Loading…
Reference in New Issue
Block a user