aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-03-19 12:12:28 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-03-19 15:28:00 +0000
commitc2a3380707c67f5d1202bc83855357c9d2c6a240 (patch)
tree4d3623f28480ba55716a4006ed3578b4b3b52660
parent42c64cc6ad5f1a5a3c0af4e67f39f55e0a2675a4 (diff)
downloadkolla-c2a3380707c67f5d1202bc83855357c9d2c6a240.tar.gz
kolla-c2a3380707c67f5d1202bc83855357c9d2c6a240.zip
CI: publish AArch64 Debian/source images
We want to test upgrades on aarch64. For this we need to publish images. AArch64 images will get "-aarch64" added to tag to not collide with x86-64 ones. Change-Id: Ibae2578b4bc18c0ab7fcc1840c39bb86659ab920
-rw-r--r--.zuul.d/debian.yaml7
-rw-r--r--tests/templates/kolla-build.conf.j23
2 files changed, 9 insertions, 1 deletions
diff --git a/.zuul.d/debian.yaml b/.zuul.d/debian.yaml
index 42df7237c..db3266ddb 100644
--- a/.zuul.d/debian.yaml
+++ b/.zuul.d/debian.yaml
@@ -11,9 +11,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:
@@ -63,3 +65,8 @@
publisher: true
secrets:
- kolla_dockerhub_creds
+
+- job:
+ name: kolla-publish-debian-source-aarch64
+ parent: kolla-publish-debian-source
+ nodeset: kolla-debian-buster-aarch64
diff --git a/tests/templates/kolla-build.conf.j2 b/tests/templates/kolla-build.conf.j2
index cba3c16a9..d707f5f87 100644
--- a/tests/templates/kolla-build.conf.j2
+++ b/tests/templates/kolla-build.conf.j2
@@ -2,7 +2,8 @@
debug = true
{% if publisher %}
namespace = kolla
-tag = {{ (zuul.tag if zuul.pipeline == "release" else zuul.branch | basename) }}
+{% set tag_suffix = '-aarch64' if ansible_architecture == 'aarch64' else '' %}
+tag = {{ (zuul.tag if zuul.pipeline == "release" else zuul.branch | basename) ~ tag_suffix }}
{% endif %}
push = false
logs_dir = {{ kolla_build_logs_dir }}