Deployment to kubernetes
We need a simple deployment to the machine on DigitalOcean, that will auto-deploy crm/sam apis and front-ends when a change is detected. I don't mind that this would be "hack-y" at this point (if Terraform or Brooklyn would take more than a few hours).
Simple way includes:
- a cron job under /etc/cron.daily which will clone/pull git and docker images, reset database, or
- https://github.com/v2tec/watchtower to automatically update when a docker image changes, or
- just something like
make deploy
which would use.env
for a target deploy host IP, or - just running
realize start
on the instance and pulling the go code with cron
Anyway, the point is should be simple, should be fast, great if automated on code pushes :D