aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-09-20 17:44:06 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2019-12-16 08:17:38 +0000
commitd6935edb43ab577b2895d701d6d7e7e555934d8b (patch)
tree3c03ad5989718bf9cf2950540475e1ef586e31f4
parent2ee796bdce78aadaeaf42796a4f4dce9e7471ce0 (diff)
downloadkolla-d6935edb43ab577b2895d701d6d7e7e555934d8b.tar.gz
kolla-d6935edb43ab577b2895d701d6d7e7e555934d8b.zip
Add Debian/source aarch64 CI job
AArch64 is getting popular and not all changes working on x86-64 work properly on aarch64 architecture. Let check them. Job is running in separate pipeline due to low number of aarch64 nodes. Authored-By: Xinliang Liu <xinliang.liu@linaro.org> Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com> Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Implements: blueprint aarch64-3rd-party-ci-kolla Depends-On: https://review.opendev.org/#/c/698606 Change-Id: I7e7802dfa4f4d9c61d01dba4b77c01cfb24301c0
-rw-r--r--.zuul.d/base.yaml6
-rw-r--r--.zuul.d/debian.yaml13
-rw-r--r--tests/templates/template_overrides.j22
3 files changed, 20 insertions, 1 deletions
diff --git a/.zuul.d/base.yaml b/.zuul.d/base.yaml
index 1cd97d282..31ddf33f7 100644
--- a/.zuul.d/base.yaml
+++ b/.zuul.d/base.yaml
@@ -43,6 +43,12 @@
- name: primary
label: debian-buster
+- nodeset:
+ name: kolla-debian-buster-aarch64
+ nodes:
+ - name: primary
+ label: debian-buster-arm64
+
- job:
name: kolla-base
parent: base
diff --git a/.zuul.d/debian.yaml b/.zuul.d/debian.yaml
index 5c2d93c9c..42df7237c 100644
--- a/.zuul.d/debian.yaml
+++ b/.zuul.d/debian.yaml
@@ -5,6 +5,9 @@
- kolla-build-debian-source
- kolla-build-debian-binary
- kolla-ansible-debian-source
+ check-arm64:
+ jobs:
+ - kolla-build-debian-source-aarch64
periodic:
jobs:
- kolla-publish-debian-source
@@ -24,6 +27,16 @@
install_type: source
- job:
+ name: kolla-build-debian-source-aarch64
+ parent: kolla-base
+ nodeset: kolla-debian-buster-aarch64
+ voting: false
+ vars:
+ action: build
+ base_distro: debian
+ install_type: source
+
+- job:
name: kolla-build-debian-binary
parent: kolla-base
nodeset: kolla-debian-buster
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index e69eab450..9156a2a83 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -12,7 +12,7 @@ RUN echo registry={{ nodepool_npmjs_proxy }} > /etc/npmrc \
&& ln -s /etc/npmrc /usr/etc/npmrc
{% raw %}
-{% if base_distro == 'ubuntu' %}
+{% if base_distro in ['debian', 'ubuntu'] %}
{% endraw %}
# NOTE(hrw): Debian 'buster' and Ubuntu 18.04 refuse to use unsigned repos