Continuous Delivery with Docker Compose and Drone
Introduction I’m slowly transitioning all of my applications from a Docker Compose-based setup to running on Kubernetes (specifically, K3s). Part of the reason I love Kubernetes is the tooling around it. I (try to) practice GitOps, so all of my Kubernetes configuration is in a public GitHub repo. I’m happily using GitHub Actions and Renovatebot for Continuous Integration (CI). For example, each PR has tests run on it, then if specific conditions are met, the PR is merged. For Continuous Delivery (CD) I’m using Flux, which runs in my K3s cluster and constantly tries to synchronize the current cluster state to the “golden” state of the cluster on GitHub. This way, every change made to the master branch will be rolled out via Flux automatically. ...