Closed jurijsk closed 8 months ago
Hi @jurijsk! Thank you for sharing your feedback on your debugging process.
oryx build-script <SourceDir>
to generate build script to your current working directory.CleanOutputPath
to true
, it looks like a configuration done from the Azure Function settings. But as from Oryx side, I'm not sure how exactly to configure this. oryx.log
. Looks like we don't generate file with the name oryx-build.log
. I'll share this with the team to double check this issue.Meanwhile, please let me know if there's any other things I could help with!
Thank you for your reply @harryli0108!
Regarding Oryx CLI, is that something I can do within Azure Function App environment, or I can install Oryx on Windows machine?
I'm not sure if you could access with the Function App env. The CLI tool comes preinstalled with Oryx docker image. you can try pull and spin up a docker container with the oryx build image and use Oryx CLI tool within the container.
E.g., docker pull mcr.microsoft.com/oryx/build:latest
This would give you what the actual build script would look like.
This issue seems resolved. Will be closing this issue. If this is still relevant and impacting you please open a new issue and link back to this issue for reference.
At what date and time did you most recently experience the problem? 24.04.2023
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use. Azure Functions on Linus. Function runtime model v4 and I have
"@azure/functions": "^4.0.0-alpha.9"
in mypackage.json
If your repo is publicly available please share its URL: private repo
What happened?
When deploying using
func azure functionapp publish {func-name} --build remote
I get the success but few of the function are not listed at the end.
I would love to have some output on why some of the functions are not loaded. And more informative log in general.
The method I use to troubleshot is to gradually reduce the complexity of failed to load function and try to locate the problem.
I'm my case the problem was in one of the libraries I use. I guess the issue occurs during the discovery and initialization of functions, so this likely out of scope of this project.
Nevertheless, I would like to know if it is possible to get better logs our of the build. Therefore few regarding Oryx:
PreDeployment: context.CleanOutputPath False
how to change this to true?Is it possible to reconfigure this to get the build summary?