summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-03-19 12:12:28 +0100
committerMark Goddard <mark@stackhpc.com>2020-03-19 18:07:04 +0000
commitd43c8b78ac9e1165445e4748c4f5b9e757e5dd8d (patch)
tree2b12e5ea536219ea927889144e97f7bff50a1d93 /tests
parentac08a2d595e88e078967fb40aabb52d827bd0f12 (diff)
downloadkolla-d43c8b78ac9e1165445e4748c4f5b9e757e5dd8d.tar.gz
kolla-d43c8b78ac9e1165445e4748c4f5b9e757e5dd8d.zip
CI: publish AArch64 Debian/source images
We want to test upgrades on aarch64. For this we need to publish images. AArch64 images with get "-aarch64" added to tag to not collide with x86-64 ones. (manually adapted from master change) Change-Id: Ibae2578b4bc18c0ab7fcc1840c39bb86659ab920
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/kolla-build.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/templates/kolla-build.conf.j2 b/tests/templates/kolla-build.conf.j2
index 25afce62f..f9a501da2 100644
--- a/tests/templates/kolla-build.conf.j2
+++ b/tests/templates/kolla-build.conf.j2
@@ -2,8 +2,13 @@
debug = true
{% if publisher %}
namespace = kolla
+{# NOTE(hrw): we do not publish centos images for aarch64 so can just override #}
+{% if ansible_architecture == 'aarch64' %}
+{% set tag_suffix = '-aarch64' %}
+{% else %}
{# TODO(mgoddard): Remove tag_suffix when CentOS 7 is no longer supported. #}
{% set tag_suffix = '-centos8' if ansible_distribution | lower == 'centos' and base_tag | default == 8 else '' %}
+{% endif %}
tag = {{ (zuul.tag if zuul.pipeline == "release" else zuul.branch | basename) ~ tag_suffix }}
{% endif %}
push = false