File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 49
49
- job :
50
50
name : kolla-build-debian-aarch64
51
51
parent : kolla-build-debian
52
- nodeset : kolla-debian-bookworm-aarch64
52
+ # NOTE(mnasiadka): Switch to aarch64 nodeset when nodes are fixed
53
+ nodeset : kolla-debian-bookworm
53
54
voting : false
55
+ vars :
56
+ base_arch : aarch64
54
57
55
58
- job :
56
59
name : kolla-publish-debian-dockerhub
Original file line number Diff line number Diff line change 201
201
become : true
202
202
when :
203
203
- container_engine == "podman"
204
+
205
+ - name : Run multiarch/qemu-user-static image to support cross-arch build
206
+ command :
207
+ cmd : " {{ container_engine }} run --rm --privileged multiarch/qemu-user-static --reset -p yes"
208
+ become : true
209
+ when : ansible_facts.architecture != (base_arch | default('x86_64'))
Original file line number Diff line number Diff line change 10
10
logs_dir : " {{ kolla_build_logs_dir }}"
11
11
quiet : true
12
12
base : " {{ base_distro }}"
13
+ base_arch : " {{ base_arch | default('x86_64') }}"
13
14
engine : " {{ container_engine }}"
14
15
template_override : /etc/kolla/template_overrides.j2
15
16
# NOTE(yoctozepto): to avoid issues with IPv6 not enabled in the docker daemon
You can’t perform that action at this time.
0 commit comments