Title: Bento 1.0.0 released | |
Author: Solène | |
Date: 09 September 2022 | |
Tags: nixos deployment bento | |
Description: | |
# 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 | |
```output | |
machine local version remote version state … | |
------- --------- ----------- ------------- … | |
interbus non-flakes 1dyc4lgr π up to date π … | |
kikimora 996vw3r6 996vw3r6 π sync pending π© (build… | |
nas r7ips2c6 lvbajpc5 π rebuild pending π© (build… | |
t470 b2ovrtjy ih7vxijm π rollbacked π … | |
x1 fcz1s2yp fcz1s2yp π up to date π … | |
``` | |
* 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. |