Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Fix .funcignore for remote build and add remoteBuild to azure.yaml - #80

Closed
anthonychu wants to merge 1 commit into
Azure-Samples:mainfrom
anthonychu:update-remote-build-config
Closed

Fix .funcignore for remote build and add remoteBuild to azure.yaml#80
anthonychu wants to merge 1 commit into
Azure-Samples:mainfrom
anthonychu:update-remote-build-config

Conversation

@anthonychu

@anthonychu anthonychu commented Feb 12, 2026

Copy link
Copy Markdown
Member

Summary

Fixes the project configuration for remote build when deploying with azd.

Changes

  • azure.yaml: Added remoteBuild: true under the sap-cloud-sdk-api service
  • src/api/.funcignore: Reconfigured for remote build — removed *.ts and tsconfig.json from ignore list, added node_modules

Context

When deploying Node.js/TypeScript Azure Functions apps with azd, remote build is used. The previous .funcignore was configured for local build: it ignored *.ts and tsconfig.json (preventing remote compilation) and did not ignore node_modules (uploading all dependencies). This change flips the configuration so source files are included and node_modules are excluded, allowing remote build to compile TypeScript and install dependencies correctly.

About remoteBuild: true in azure.yaml

The remoteBuild: true flag in azure.yaml is being added ahead of support in azd. See Azure/azure-dev#6748.

Adding this flag now has no effect on current versions of azd, but will be used by new versions that support it. The goal is to explicitly pin the remote build behavior for this project so that it is not affected by potential future changes to the default build behavior in azd.

@anthonychu

Copy link
Copy Markdown
Member Author

Closing because remoteBuild flag only applies to Flex Consumption plan. #81

@anthonychu anthonychu closed this Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant