From 4f8326a894ebacf18092d09366dfa908405af359 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 17 Dec 2019 17:51:33 +0100 Subject: [PATCH] Add AArch64 CI job Debian/source to match Kolla CI test. Change-Id: Ica45d5673db8ba1ebd4bfeb6e3d37b5ad5dd412b --- tests/run.yml | 6 ++++++ zuul.d/jobs.yaml | 9 +++++++++ zuul.d/nodesets.yaml | 6 ++++++ zuul.d/project.yaml | 3 +++ 4 files changed, 24 insertions(+) diff --git a/tests/run.yml b/tests/run.yml index c1f5a13e6d..6d18544a64 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -44,6 +44,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 6c2d9f4d19..89415c30e0 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 ce746d7488..1c4327c349 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -66,6 +66,9 @@ files: - ^ansible/roles/mariadb/ - ^tests/test-mariadb.sh + check-arm64: + jobs: + - kolla-ansible-debian-source-aarch64 gate: queue: kolla jobs: