add remoteBuild for flex consumption apps#6748
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new remoteBuild option to azure.yaml service definitions so users can explicitly enable/disable Oryx remote build behavior when deploying Azure Functions on the flex consumption plan.
Changes:
- Extend
azure.yamlJSON schemas (v1.0 and alpha) with a new booleanremoteBuildproperty and disallow it for non-functionhosts. - Add
RemoteBuild *booltoServiceConfigto represent an explicit user override (vs. language-based default). - Update Function App deployment to prefer the explicit
remoteBuildsetting when provided.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| schemas/v1.0/azure.yaml.json | Adds remoteBuild to the stable schema and restricts it to function host. |
| schemas/alpha/azure.yaml.json | Adds remoteBuild to the alpha schema and restricts it to function host. |
| cli/azd/pkg/project/service_target_functionapp.go | Uses ServiceConfig.RemoteBuild override when deciding whether to request remote build. |
| cli/azd/pkg/project/service_config.go | Introduces RemoteBuild *bool in the in-memory service model. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
f02cad1 to
1703c93
Compare
|
Can we set up a test/telemetry to measure if this change is helping customers navigate remote build in this scenario (by language)? |
1703c93 to
97bdfd0
Compare
3acf7b6 to
2d88701
Compare
2d88701 to
191a238
Compare
191a238 to
9a6cc1c
Compare
9a6cc1c to
9a45983
Compare
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
Adds support for
remoteBuildoption inazure.yamlto allow users to explicitly control remote build behavior for Azure Function services onflexconsumptionplan.Addresses #6531