Skip to content

Use isolated worker model in e2e test functions app #647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/e2e-tests/helper-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ setupCustomAllocationPolicy() {
echo 'Creating an Azure Function for use as a DPS custom allocation policy...' >&2

# Initialize function app project and function
func init DpsCustomAllocationFunctionProj --dotnet
func init DpsCustomAllocationFunctionProj --worker-runtime dotnet-isolated
pushd DpsCustomAllocationFunctionProj
func new --name "$dps_allocation_function_name" --template "HTTP trigger" --authlevel "anonymous" --language C# --force
func new --name "$dps_allocation_function_name" --template "HTTP trigger" --authlevel "anonymous" --force

# Copy source code into function app project
cp "$GITHUB_WORKSPACE/ci/e2e-tests/DpsCustomAllocation.csfunc" ./DpsCustomAllocation.cs
Expand All @@ -107,7 +107,7 @@ setupCustomAllocationPolicy() {
--resource-group $AZURE_RESOURCE_GROUP_NAME \
--consumption-plan-location $AZURE_LOCATION \
--runtime dotnet \
--runtime-version 6 \
--runtime-version 8 \
--functions-version 4 \
--name "$dps_allocation_functionapp_name" \
--disable-app-insights \
Expand Down
Loading