Skip to content

Commit 8f93136

Browse files
committed
remove funclocal
1 parent 778e41d commit 8f93136

3 files changed

Lines changed: 6 additions & 10 deletions

File tree

run-samples.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -euo pipefail
1111
# - LocalStack CLI
1212
# - Terraform CLI
1313
# - azlocal & terraform-local (pip install azlocal terraform-local)
14-
# - funclocal (pip install funclocal)
14+
# - Azure Functions Core Tools (func)
1515
# - Azure Functions Core Tools (func)
1616
# - jq & zip (sudo apt-get install jq zip)
1717
# - MSSQL Tools (sqlcmd)
@@ -96,7 +96,6 @@ fi
9696
command -v localstack >/dev/null 2>&1 || { echo >&2 "localstack CLI is required but not installed. Aborting."; exit 1; }
9797
command -v az >/dev/null 2>&1 || { echo >&2 "az CLI is required but not installed. Aborting."; exit 1; }
9898
command -v azlocal >/dev/null 2>&1 || { echo >&2 "azlocal is required but not installed. Run 'pip install azlocal'. Aborting."; exit 1; }
99-
#command -v funclocal >/dev/null 2>&1 || { echo >&2 "funclocal is required but not installed. Run 'pip install azlocal'. Aborting."; exit 1; }
10099
#command -v tflocal >/dev/null 2>&1 || { echo >&2 "tflocal is required but not installed. Run 'pip install terraform-local'. Aborting."; exit 1; }
101100
command -v terraform >/dev/null 2>&1 || { echo >&2 "terraform CLI is required but not installed. Aborting."; exit 1; }
102101
command -v func >/dev/null 2>&1 || { echo >&2 "Azure Functions Core Tools (func) is required but not installed. Aborting."; exit 1; }

samples/function-app-front-door/python/scripts/deploy_all.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set -euo pipefail
1616
# Requirements
1717
# - az CLI
1818
# - bash, zip
19-
# - Optional for LocalStack mode: azlocal (CLI interceptor), funclocal + Azure Functions Core Tools ('func')
19+
# - Optional for LocalStack mode: azlocal (CLI interceptor), Azure Functions Core Tools ('func')
2020
#
2121
# Examples
2222
# # Real Azure (eastus by default)
@@ -51,7 +51,7 @@ Options:
5151
-l, --location STR Azure region (default: eastus)
5252
-g, --resource-group STR Resource group name (auto-generated if omitted)
5353
--python-version STR Python runtime for Function App(s) (default: 3.11)
54-
--use-localstack Use azlocal/funclocal for LocalStack emulator
54+
--use-localstack Use azlocal for LocalStack emulator
5555
5656
# Scenario toggles (all enabled by default)
5757
--no-basic Skip basic single-origin scenario
@@ -221,14 +221,11 @@ create_function_app() {
221221
publish_function_code() {
222222
local funcName="$1"; local zipPath="$2"
223223
if [[ "$USE_LOCALSTACK" == "true" ]]; then
224-
if ! command -v funclocal >/dev/null 2>&1; then
225-
echo "Error: funclocal is required in --use-localstack mode." >&2; exit 1
226-
fi
227224
if ! command -v func >/dev/null 2>&1; then
228225
echo "Error: Azure Functions Core Tools ('func') not found in PATH." >&2; exit 1
229226
fi
230227
pushd "$FUNCTION_SRC" >/dev/null
231-
funclocal azure functionapp publish "$funcName" --python --build local #--verbose --debug
228+
func azure functionapp publish "$funcName" --python --build local #--verbose --debug
232229
popd >/dev/null
233230
else
234231
rm -f "$zipPath"; ( cd "$FUNCTION_SRC" && zip -rq "$zipPath" . )

samples/function-app-storage-http/dotnet/scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ cd "$CURRENT_DIR" || exit
2626

2727
# Choose the appropriate CLI based on the environment
2828
if [[ $ENVIRONMENT == "LocalStack" ]]; then
29-
echo "Using funclocal for LocalStack emulator environment."
30-
FUNC="funclocal"
29+
echo "Using func for LocalStack emulator environment."
30+
FUNC="func"
3131
else
3232
echo "Using standard func for AzureCloud environment."
3333
FUNC="func"

0 commit comments

Comments
 (0)