Skip to content
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

.funcignore is ignored #3885

Closed
JohnLBevan opened this issue Oct 20, 2023 · 2 comments · Fixed by #3889
Closed

.funcignore is ignored #3885

JohnLBevan opened this issue Oct 20, 2023 · 2 comments · Fixed by #3889
Labels
Milestone

Comments

@JohnLBevan
Copy link

.funcignore is expected to behave like a .gitignore file, only preventing files from being published to an Azure Function, rather than preventing them from being committed.

For example, with a project structure such as this:

.
|- .funcignore
|- .gitignore
|- host.json
|- profile.ps1
|- requirements.psd1
|- ExampleFunction1\
  |- function.json
  |- run.ps1
  |- confidential.secret

Where .funcignore contains this:

*.secret

After using VSCode to deploy the function, in the Code & Test window we see MyFunctionApp\ExampleFunction1\confidential.secret exists in the app's directory.

The same issue is mentioned here on the related Azure Functions Github Action thread: Azure/functions-action#36 (comment)

@alexweininger
Copy link
Member

Similar to #3882

@alexweininger alexweininger added this to the 1.13.0 milestone Oct 25, 2023
@microsoft microsoft locked and limited conversation to collaborators Dec 29, 2023
@alexweininger
Copy link
Member

Hi @JohnLBevan, a fix for this has been released in v1.13.2 of the extension.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants