Im using Atlas App Services. I create some functions and it works correctly but it’s only on mongo cloud.
I wonder if there is any way to host these functions in my gitlab (I mean code and test these functions on my local gitlab) and deploy automatically on mongo cloud via ci gitlab?
Deploy automatically app services functions via gitlab
Short answer, no.
Long answer, yes.
For the long answer, you’d have to build a function in Atlas as an API service and connect Gitlab to the Atlas cluster. Or use the Admin API through your deployments.
These are the only ways I’ve been successful in connecting Gitlab to Atlas.