Merge pull request #572 from flatcar/sayan/skip-azure-arm-lts-2022

ci-automation/release: Skip release job for Azure ARM in LTS
This commit is contained in:
Sayan Chowdhury 2022-11-17 16:29:39 +05:30 committed by GitHub
commit a12d605ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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