tvl-depot/bin
Griffin Smith a73714a93c feat(ops/nixos): Add generic rebuild-system script
This adds a first crack at one idea for a generic, non-user-specific
rebuild-system script to ops.nixos.rebuild-system. The idea here is that
we enumerate all the nixos systems stored in the monorepo (similarly to
what we do for ci-builds right now) then search through them by hostname
to find the one matching the hostname of the current system, which is an
attempt at a more generic version of tazjin's rebuilder script which
does the same thing but with an explicit case block.

As a caveat, it feels like there's a slight possibility that this way of
finding systems is going to get slow to evaluate - on my system it feels
fine but if it grows out of hand it's probably feasible to just bake
this into the built script as a dynamically generated case statement.

Change-Id: I2e4c5401913b6f4d936ab48ba2f95f96e0e78eb4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/894
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-07-06 15:16:36 +00:00
..
__dispatch.sh feat(ops/nixos): Add generic rebuild-system script 2020-07-06 15:16:36 +00:00
age feat(bin): Add link to 'age' tool from third_party.age 2020-01-01 16:54:07 +01:00
age-keygen feat(bin): Add link to 'age' tool from third_party.age 2020-01-01 16:54:07 +01:00
aoc2019 chore: Significantly restructure folder layout 2019-12-20 20:18:41 +00:00
depot-build feat(depot-build): Add a tool to build at arbitrary tree locations 2020-06-15 19:08:53 +00:00
gerrit feat(gerrit-cli): Add gerrit CLI script 2020-06-16 01:54:39 +00:00
git-bug feat(bin): Add git-bug to dispatch script 2020-06-14 22:28:00 +00:00
hash-password feat(tools/hash-password): Add a wrapper script for slappasswd 2020-07-01 20:39:07 +00:00
kontemplate chore: Significantly restructure folder layout 2019-12-20 20:18:41 +00:00
meson feat(bin): Add ninja & meson CLI tools 2020-05-17 02:49:13 +01:00
ninja feat(bin): Add ninja & meson CLI tools 2020-05-17 02:49:13 +01:00
rebuild-system feat(ops/nixos): Add generic rebuild-system script 2020-07-06 15:16:36 +00:00
rebuilder feat(ops/nixos): Add 'rebuilder' helper script 2020-01-04 22:50:34 +00:00
rink chore: Significantly restructure folder layout 2019-12-20 20:18:41 +00:00
stern chore: Significantly restructure folder layout 2019-12-20 20:18:41 +00:00
terraform chore: Significantly restructure folder layout 2019-12-20 20:18:41 +00:00