-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Type of issue
Other (describe below)
Reference command name
az functionapp deployment source config-zip
Feedback
I use Dedicated (App Service) plan, Linux, and Python.
Here and here, Microsoft Learn describes both SCM_DO_BUILD_DURING_DEPLOYMENT=true and ENABLE_ORYX_BUILD=true are needed.
I have following settings in a .deployment configuration file that's located in the root of your .zip file.
[config]
SCM_DO_BUILD_DURING_DEPLOYMENT=true
ENABLE_ORYX_BUILD=true
However, when I run az functionapp deployment source config-zip with --build-remote true option, 'Removing ENABLE_ORYX_BUILD app setting' is displayed on my terminal. And ENABLE_ORYX_BUILD is really removed from the Functions App environment variables.
On the other hand, when I run az functionapp deployment source config-zip without --build-remote true option, 'Setting SCM_DO_BUILD_DURING_DEPLOYMENT to false' is displayed on my terminal. And SCM_DO_BUILD_DURING_DEPLOYMENT is really changed to 'false' on the Functions App environment variables.
I have two questions:
- Which does it have a high priority, the options on Azure CLI, and the settings in .deployment configuration file?
- The
ENABLE_ORYX_BUILDenvironment variable is neeeded on remote build, why the variable is removed while runningaz functionapp deployment source config-zipwith--build-remote trueoption?
I'm so confued...
Page URL
No response
Content source URL
No response
Author
No response
Document Id
No response