CI/CD Pipeline
-
I'm really excited about trying your CI/CD pipeline. We're currently hosting on Netlify, and while their app is awesome, we have some GDPR requirements that are pushing us towards self-hosting.
I've read the documentation but I can't seem to get my app to build (yet :).
Some questions I have:
- We use a Jamstack tech stack with Microservices backend. Does our repo/app need to have its own server configuration for hosting the HTML/CSS/JS files? (i.e. once the site is 'built', do we have to run the command to host it?)
- Any suggestions for what framework/server tech to use for deploying functions, ideally something that is lambda-compatible? We have 150+ functions, so rewriting syntax / etc. is not ideal
Something else I'm aware of if I want to really 'replicate' the Netlify experience is that I'll need to figure out how to implement a CDN + cache invalidation hooks, etc... and eventually move edge functions to CF workers or something like that.
Thanks in advance!
-
@VISIGO for example something like this seems like maybe what I need?
https://github.com/serverless-stack/sst -
@jbenguira any ideas?
-
Hey @VISIGO
I recommend this sample from our repos:
https://github.com/elestio-examples/cloudgateIt's based on cloudgate:
https://www.npmjs.com/package/@elestio/cloudgateIt's a good solution for jamstack/serverless, it's compatible with lambda function style and can serve API / Websockets and also static files
You can test it locally or deploy with CI/CD