CI: Fix aarch64 publish jobs on x86

Change-Id: I5c69d288a427d708b42deadac872a3a7368181e3
This commit is contained in:
Michal Nasiadka 2024-10-01 16:04:51 +02:00
parent 602a6f7d4e
commit 9b10b7d235
2 changed files with 3 additions and 2 deletions
.zuul.d
tests/playbooks

@ -139,6 +139,7 @@
- ^LICENSE$ - ^LICENSE$
- ^tox\.ini$ - ^tox\.ini$
vars: vars:
base_arch: "x86_64"
publisher: false publisher: false
container_engine: "docker" container_engine: "docker"
extra-vars: extra-vars:

@ -3,14 +3,14 @@
vars_files: vars_files:
- ../vars/zuul.yml - ../vars/zuul.yml
vars: vars:
tag_suffix: "{{ '-aarch64' if ansible_architecture == 'aarch64' else '' }}" tag_suffix: "{{ '-aarch64' if base_arch == 'aarch64' else '' }}"
kolla_build_config: kolla_build_config:
DEFAULT: DEFAULT:
debug: true debug: true
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') }}" base_arch: "{{ base_arch }}"
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