From 3df4a817d1113c6373942c1324265872184df780 Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Fri, 28 Jul 2023 14:20:45 +0800 Subject: [PATCH] {CI} Fix command tree broken issue (#6573) * Update update_ext_cmd_tree.py * Update update_ext_cmd_tree.py * update --- scripts/ci/build_ext_cmd_tree.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/ci/build_ext_cmd_tree.sh b/scripts/ci/build_ext_cmd_tree.sh index 53bed033b85..bc8552d1c91 100644 --- a/scripts/ci/build_ext_cmd_tree.sh +++ b/scripts/ci/build_ext_cmd_tree.sh @@ -20,7 +20,15 @@ export AZURE_EXTENSION_INDEX_URL=https://raw.githubusercontent.com/Azure/azure-c output=$(az extension list-available --query [].name -otsv) # azure-cli-ml is replaced by ml # disable alias which relies on Jinja2 2.10 -blocklist=("azure-cli-ml" "alias") +# ----------------------------------------------- +# When two extensions have the same command, the following error will be reported: +# `Exception: Key: show already exists in containerapp. 2 extensions cannot have the same command!` +# Temporarily skip the containerapp-preview extension, +# Which will cause the containerapp-preview extension to be unable to use the dynamic load function. +# That is, when using the unique command of containerapp-preview, the extension cannot be automatically prompted to install. +# TODO: remove this after support for building dependencies in command index between extensions +# ----------------------------------------------- +blocklist=("azure-cli-ml" "alias" "containerapp-preview") rm -f ~/.azure/extCmdTreeToUpload.json