From 6c5bdbedcad8e815f9583c5547fd843a71105c17 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Thu, 17 Nov 2022 15:51:19 +0530 Subject: [PATCH] ci-automation/release: Skip release job for Azure ARM in LTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sayan Chowdhury Co-authored-by: Kai Lüke Co-authored-by: Krzesimir Nowak --- ci-automation/release.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci-automation/release.sh b/ci-automation/release.sh index 1433b05853..45221d07aa 100644 --- a/ci-automation/release.sh +++ b/ci-automation/release.sh @@ -93,7 +93,12 @@ function _inside_mantle() { secret_to_file google_release_credentials_file "${GOOGLE_RELEASE_CREDENTIALS}" for platform in aws azure; do - for arch in amd64 arm64; do + arches_prerelease=(amd64 arm64) + # TODO: drop when LTS-3033 is not supported any more. + if [[ "${CHANNEL}" == "lts" ]] && [[ "${platform}" == "azure" ]] && echo "$VERSION" | grep -q "^3033"; then + arches_prerelease=(amd64) + fi + for arch in "${arches_prerelease[@]}"; do # Create a folder where plume stores flatcar_production_ami_*txt and flatcar_production_ami_*json # for later push to bincache rm -rf "${platform}-${arch}"