Skip to content

Instantly share code, notes, and snippets.

View jhunt's full-sized avatar

James Hunt jhunt

View GitHub Profile
jhunt /
Last active March 17, 2022 00:05
Watching Upstream HTTP Download Sites for New Versions

Watching Upstream Releases

For a while now I've had an idea for a VERY lightweight CI/CD solution based on Kubernetes CronJobs, and a bespoke set of heuristic "version checkers" that can parse a single source -- HTTP downloads listing, a GitHub repository's release feed, etc. -- and determine if you need to go download a new thing.

This is a quick hacky sketch of what those checkers might look like, because it's late, I can't sleep, and I'm otherwise unoccupied.