How to provide private git packages (dart package or node module) to appwrite function? Is there a way to configure git settings in functions build environment?
What do you mean by private packages? I've only used the nodejs runtime, and was able to use not-so-complex packages with a simple npm install.
i mean private git packages
same goes for dart packages: https://dart.dev/tools/pub/dependencies#git-packages
I'm thinking about adding command to docker-compose.yaml after worker-builds started Then i will be able to set some global git config with token
Ok, giving up with this approach cant find a way to run git command after container run - git is unavailable on all containers
build runs on the runtime container, but how can i pass data to it
Any chance you can download the package and include it in your uploaded code?
Also, you might want to 👍 this issue: https://github.com/appwrite/appwrite/issues/4054
Got it, so there is feature request. Upvoted. For now I will rewrite dependecies with deployment script (to include repository access token)
[Solved]Private node or dart packages in Functions
Recommended threads
- Cloud Function Deployment Issue – Timeou...
Impossible to deploy a function for more than an hour. My project ID is: 69cc7a82000b42b8f5e2 Here's the error I get after waiting 15 minutes: Synchronous funct...
- Dart runtime functions are timing out an...
My appwrite function is not executing at all and showing the error in error logs: I tried redeploying. Still no luck. I have set the function to ise maximum re...
- Event-triggered function executes but pr...
Hello! I'm running self-hosted Appwrite 1.9.0. I have a Dart function (tried both dart-3.5 and dart-3.10 runtimes) with these events configured: ```teams.staff...