aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2025-03-19 12:48:39 +0000
committerGerrit Code Review <review@openstack.org>2025-03-19 12:48:39 +0000
commit9a4eeaab5942f40ff2b45f69bb51dadb2ef4f328 (patch)
tree4ef92a728ee3a029e89bb8615bd279f256ba5197
parent64f171ccfa02bfeb9c92a641e186bd987f0099ae (diff)
parent4c9113f964b11fd4c648802cfa7a2b3ddb7cd93c (diff)
downloadkolla-9a4eeaab5942f40ff2b45f69bb51dadb2ef4f328.tar.gz
kolla-9a4eeaab5942f40ff2b45f69bb51dadb2ef4f328.zip
Merge "CI: Add qemu-user-static back"
-rw-r--r--roles/kolla-build-deps/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/kolla-build-deps/tasks/main.yml b/roles/kolla-build-deps/tasks/main.yml
index ebb5f00fa..a3fcd1473 100644
--- a/roles/kolla-build-deps/tasks/main.yml
+++ b/roles/kolla-build-deps/tasks/main.yml
@@ -62,3 +62,9 @@
path: "{{ '/run/docker.sock' if container_engine == 'docker' else '/run/podman/podman.sock' }}"
mode: "0666"
become: true
+
+- name: Run multiarch/qemu-user-static image to support cross-arch build
+ ansible.builtin.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'))