You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly certain that azd is zipping up everything in the folder and not ignoring files/folders in funcignore which I would expect to be ignored.
I suspect that because 1) zipping my little function folder takes a lot longer than I'd expect and 2) I see no evidence of funcignore parsing in codebase, and I see this TODO here about ignoring files:
Browse "App Files" in Azure Portal, still see .DS_Store
Expected behavior
I expect it to not zip up files/folders specified in .funcignore
Environment
Mac OS X Ventura
Additional context
I can reorganize my project structure to avoid such a large deploy, but I think it'd be good to support .funcignore for consistency with other ways to deploy function apps.
The text was updated successfully, but these errors were encountered:
+1 to this issue. I've had to restructure a project to avoid the frontend node_modules folder getting published. Another problem is that local.settings.json also gets published, which can contain sensitive info like connection strings.
Output from
azd version
azd version 0.3.0-beta.4-pr.1945868 (commit 3aadf6d)
Output from
az version
Describe the bug
I'm fairly certain that azd is zipping up everything in the folder and not ignoring files/folders in funcignore which I would expect to be ignored.
I suspect that because 1) zipping my little function folder takes a lot longer than I'd expect and 2) I see no evidence of funcignore parsing in codebase, and I see this TODO here about ignoring files:
azure-dev/cli/azd/pkg/project/internal/project_utils.go
Line 16 in a74e800
To Reproduce
Expected behavior
I expect it to not zip up files/folders specified in .funcignore
Environment
Mac OS X Ventura
Additional context
I can reorganize my project structure to avoid such a large deploy, but I think it'd be good to support .funcignore for consistency with other ways to deploy function apps.
The text was updated successfully, but these errors were encountered: