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
This commit is contained in:
Marcin Juszkiewicz 2020-03-19 12:12:28 +01:00 committed by Mark Goddard
parent ac08a2d595
commit d43c8b78ac
2 changed files with 12 additions and 0 deletions

View File

@ -8,9 +8,11 @@
periodic:
jobs:
- kolla-publish-debian-source
- kolla-publish-debian-source-aarch64
release:
jobs:
- kolla-publish-debian-source
- kolla-publish-debian-source-aarch64
- kolla-publish-debian-binary
- job:
@ -50,3 +52,8 @@
publisher: true
secrets:
- kolla_dockerhub_creds
- job:
name: kolla-publish-debian-source-aarch64
parent: kolla-publish-debian-source
nodeset: kolla-debian-buster-aarch64

View File

@ -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