Only cache ETCD tarballs for amd64.
Multiarch versions of ETCD only exist for v3.2.x, this means when we try to cache etcd-v3.1.10-linux-arm64.tar.gz for nodepool-builder, we are not able to find it. Breaking our image builds. Change-Id: I61656cbd71173b1904c7fe70af91b3873acc4d50 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
ca62e563f2
commit
b543369a25
7
stackrc
7
stackrc
|
@ -771,7 +771,12 @@ ETCD_NAME=etcd-$ETCD_VERSION-linux-$ETCD_ARCH
|
|||
ETCD_DOWNLOAD_FILE=$ETCD_NAME.tar.gz
|
||||
ETCD_DOWNLOAD_LOCATION=$ETCD_DOWNLOAD_URL/$ETCD_VERSION/$ETCD_DOWNLOAD_FILE
|
||||
# etcd is always required, so place it into list of pre-cached downloads
|
||||
EXTRA_CACHE_URLS+=",$ETCD_DOWNLOAD_LOCATION"
|
||||
if is_arch "x86_64"; then
|
||||
# NOTE(pabelanger): Only v3.2.x of ETCD has support for multiarch. This
|
||||
# means on stable branches our version is too old to try and cache and will
|
||||
# 404 DIBs for nodpeool.
|
||||
EXTRA_CACHE_URLS+=",$ETCD_DOWNLOAD_LOCATION"
|
||||
fi
|
||||
|
||||
# Detect duplicate values in IMAGE_URLS
|
||||
for image_url in ${IMAGE_URLS//,/ }; do
|
||||
|
|
Loading…
Reference in New Issue