Tech News
← Back to articles

Automating Distro Updates in CI

read original related products more articles

For a long time, we had a recurring TODO in our calendar: once a month, check whether any Linux distro we test against got a new stable version—or dropped support for an old one.

Sounds simple. In reality, it was annoying, error-prone, and we were always late. Someone had to remember, look up release notes, update our CI matrix, and push a commit. Sometimes we missed a release for weeks, even months. Sometimes we forgot to remove an EOL version. It was busywork, not engineering.

So we automated it.

Step 1: Get the source of truth

We found endoflife.date has a neat API with lifecycle information for tons of projects, including Linux distros.

It gives you a structured JSON about supported and upcoming releases. Exactly what we needed: a single place to know what’s alive and what’s dead.

Step 2: Update CI automatically

We wrote a GitHub Action that queries this API, parses the versions, and updates our CI matrix. The action runs every week, so our testing matrix is always fresh.

You can see the code on GitHub.

Instead of telling people “remember to bump Ubuntu when a new LTS comes out,” the pipeline does it for us.

... continue reading