diff --git a/tests/run.yml b/tests/run.yml index 71d0508adb..b77eeb5205 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -50,6 +50,12 @@ - item.branch == zuul.branch with_items: "{{ zuul['items'] }}" + - name: enable building images on AArch64 + set_fact: + need_build_image: true + when: + - ansible_architecture == 'aarch64' + # NOTE(yoctozepto): required to template template_overrides.j2 for Zuul - name: Include kolla Zuul vars if building new images include_vars: diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 658b8cfec1..d5505d6e30 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -7,6 +7,15 @@ base_distro: centos install_type: source +- job: + name: kolla-ansible-debian-source-aarch64 + parent: kolla-ansible-debian-source + nodeset: kolla-ansible-debian-aarch64 + voting: false + timeout: 10800 + required-projects: + - openstack/kolla + - job: name: kolla-ansible-debian-source parent: kolla-ansible-base diff --git a/zuul.d/nodesets.yaml b/zuul.d/nodesets.yaml index fb498c1ca7..0995c9d4d1 100644 --- a/zuul.d/nodesets.yaml +++ b/zuul.d/nodesets.yaml @@ -11,6 +11,12 @@ - name: primary label: debian-buster +- nodeset: + name: kolla-ansible-debian-aarch64 + nodes: + - name: primary + label: debian-buster-arm64 + - nodeset: name: kolla-ansible-xenial nodes: diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index e4acbcdfb7..35090c5113 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -70,6 +70,9 @@ files: - ^ansible/roles/mariadb/ - ^tests/test-mariadb.sh + check-arm64: + jobs: + - kolla-ansible-debian-source-aarch64 gate: queue: kolla jobs: