Bento 1.0.0 released
- Author: Solène
- Date: 09 September 2022
- Tags: nixos deployment bento
NIL=> https://bsd.network/@solenepercent/108969927125026145 Comment on Mastodon
Introduction
Bento 1.0.0 is alive!
GitHub Bento project
Tildegit mirror
Compared to the previous news, it received
- bento is now a single script, easy to package and add to $PATH. Before that it was a set of scripts with a shared shell files with functions in it, not very practicalβ¦
- the hosts directory can contain directories with flakes in it, that may contain multiple hosts, itβs now handled. If there is no flake in it, then the machine is named after the directory name
- bento supports rollbacks, if something is wrong during the deployment then the previous system is roll backed
- enhancement to the status output when you don't have a flaked system, as build are not reproducible (without efforts) we can't really compare local and remote builds
machine local version remote version state time
------- --------- ----------- ------------- ----
interbus non-flakes 1dyc4lgr π up to date π (build 11s)
kikimora 996vw3r6 996vw3r6 π sync pending π© (build 5m 53s) (new config 2m 48s)
nas r7ips2c6 lvbajpc5 π rebuild pending π© (build 5m 49s) (new config 1m 45s)
t470 b2ovrtjy ih7vxijm π rollbacked π (build 2m 24s)
x1 fcz1s2yp fcz1s2yp π up to date π (build 2m 37s)
- network measurements shown that polling for configuration changes costs 5.1 kB IN and OUT
- many checks has been added when something is going wrong
On step
It's a huge milestone for me, I thought it would be too much work to get there, but in one week and 441 lines of shell, bento is a real thing.