Skip to content

Commit 4c9113f

Browse files
committed
CI: Add qemu-user-static back
It was misssed when moving kolla-build-deps to a role Change-Id: Ic342d9d96dfd8ea03f89cdf04ff28e4a7070a54c
1 parent 9efdcc0 commit 4c9113f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

roles/kolla-build-deps/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@
6262
path: "{{ '/run/docker.sock' if container_engine == 'docker' else '/run/podman/podman.sock' }}"
6363
mode: "0666"
6464
become: true
65+
66+
- name: Run multiarch/qemu-user-static image to support cross-arch build
67+
ansible.builtin.command:
68+
cmd: "{{ container_engine }} run --rm --privileged multiarch/qemu-user-static --reset -p yes"
69+
become: true
70+
when: ansible_facts.architecture != (base_arch | default('x86_64'))

0 commit comments

Comments
 (0)