From 2668e2c9a30e26ecf2c4fdae28ba166340917083 Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Fri, 22 Dec 2023 15:46:40 +0000 Subject: [PATCH] automation/balena-deploy: Pin to known working version of balena-img As per internal thread https://balena.zulipchat.com/#narrow/stream/345890-balena-io/topic/Jenkins.20build.20failures/near/409602914 Change-type: patch Signed-off-by: Alexandru Costache --- automation/include/balena-deploy.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/include/balena-deploy.inc b/automation/include/balena-deploy.inc index f464b4520..9f939b8ae 100644 --- a/automation/include/balena-deploy.inc +++ b/automation/include/balena-deploy.inc @@ -210,7 +210,7 @@ balena_deploy_to_s3() { local _s3_cmd="s4cmd --access-key=${_s3_access_key} --secret-key=${_s3_secret_key}" local _s3_sync_opts="--recursive --API-ACL=${_s3_policy}" - docker pull "${_namespace}/balena-img:4.1.2" + docker pull "${_namespace}/balena-img:6.21.1" docker run --rm -t \ -e BASE_DIR=/host/images \ -e S3_CMD="$_s3_cmd" \ @@ -222,7 +222,7 @@ balena_deploy_to_s3() { -e VERBOSE="${VERBOSE}" \ -e DEPLOYER_UID="$(id -u)" \ -e DEPLOYER_GID="$(id -g)" \ - -v "$_s3_deploy_dir":/host/images "${_namespace}"/balena-img:master /bin/sh -e -c ' \ + -v "$_s3_deploy_dir":/host/images "${_namespace}"/balena-img:6.21.1 /bin/sh -e -c ' \ VERBOSE=${VERBOSE:-0} [ "${VERBOSE}" = "verbose" ] && set -x apt-get -y update