From 731f1ec0519849f9402cf8d29ff62eb13e826c1d Mon Sep 17 00:00:00 2001 From: Antoine CORDIER Date: Wed, 9 Mar 2022 17:37:20 +0100 Subject: [PATCH] ci: add overwrite flag to az storage upload The storage command of azure cli needs an overwrite flag set to true since v2.34.0 see https://github.com/Azure/azure-cli/issues/21477 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d97ad08cb5d..62a01207308 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -613,7 +613,7 @@ jobs: export BRANCH_ID=$(echo "$CIRCLE_BRANCH" | sed -E 's/[~^]+//g' | sed -E 's/[^a-zA-Z0-9]+/-/g' | sed -E 's/^-+|-+$//g' | tr "[:upper:]" "[:lower:]" | cut -c -60) az login --service-principal -u $AZURE_APPLICATION_ID --tenant $AZURE_TENANT -p $AZURE_APPLICATION_SECRET az storage container create -n $BRANCH_ID --public-access blob - az storage blob upload-batch -s gravitee-apim-console-webui/dist -d $BRANCH_ID + az storage blob upload-batch --overwrite true -s gravitee-apim-console-webui/dist -d $BRANCH_ID - notify-on-failure console-webui-comment-pr-after-deployment: