Provide a web site where folks can see the current/past versions of K3s at a glance in an easy way.
UPDATE: See it live here
Goal for this Hackweek
Currently folks need to go to https://github.com/k3s-io/k3s/releases and browse over the releases. Ideally something like https://versions.openshift.tips/ can be done during the hackweek. The project will leverage github actions to be built hands free every so often.
The project will leverage https://update.k3s.io/v1-release/channels and https://github.com/openshifttips/openshift-versions Bonus points for a fancy UI!
Created a repository https://github.com/e-minguez/k3s-versions to host the code and created a couple of small python scripts (after fighting with my vscode on osx setup)
Currently they get the k3s/rke2 release channel json file and render a html-jinja-powered template to show the latest, stable and testing k3s/rke2 versions.
Decoupled the json from the frontend.
It creates md files per release with the release notes (via the GitHub API)
Created a GitHub workflow to generate the json and the md and the frontend (in two different steps, with caches and only runs the required steps if something has changed).
First proper build of the UI \o/
A few fixes here and there and also the generated json is now reverse ordered (v1.28 > v1.27, etc. you get the idea)
UI has been rebuilt, now it shows the release notes with a nice effect from right to left
The UI now includes a list of previous k3s versions per minor release and links to the github releases per each of those. It also includes a pre-release badge.
The action has been fixed and now it builds the site depending if the frontend code changed or if the versions changed
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 23
This project is one of its kind!