News for hackers. Stuff that matters.
Re:Show HN: PullPreview – Deploy previews for any applicatio... by crohr on Wednesday May 20, 2020 @02:34AM (#23243913)
> Since a new server is launched for every preview, it would be cool if the packaging used cloud-init vs docker-compose.

Actually the way it works now is that you keep the same server for the duration of a PR / branch. This means faster redeploys since the docker cache is there, and you don’t lose your demo data on every redeploy.

Cloud-init is used for the initial setup of docker and compose, but then the code sync happens through sending the app tarball from GitHub to the server and refreshing the compose.

We thought about mono-node k8s, but found that removing one abstraction layer would be better for now.

Thanks for your comment!

Re:Show HN: PullPreview – Deploy previews for any applicatio... by moondev on Wednesday May 20, 2020 @03:10AM (#23244128)
Interesting and nice design on the hot deploy, lots of potential there. Congrats on shipping!
Re:Show HN: PullPreview – Deploy previews for any applicatio... by crohr on Wednesday May 20, 2020 @03:43AM (#23244336)
Yep, it’s also not limited to GitHub in any way and could be used straight from your dev machine or from other CI tools such as GitLab CI, Circle, Jenkins, etc.