Post

rubyvideo.dev has a GitHub action to deploy with Kamal. On a warm cache it takes about 5min to build and deploy. On a cold cache it can take up to 25min. I know GitHub runners are slow, but are those numbers normal ? If you have some ideas of improvements github.com/adrienpoly/r...

github.comOptimize deployment time for Kamal workflow · Issue #389 · adrienpoly/rubyvideoWe have a GitHub workflow that runs tests and, upon success, deploys the main branch using Kamal. The deployment process takes about 5 minutes with a warm cache but can extend to 25 minutes with a ...

That seems rather a lot still. We recently set up GHA deployment of a (smallish) rails app through Kamal with 2m (warm) and 5m (cold) deploys. The docker build cache made the biggest difference, let me find the code.