1
0
Fork 0
hscloud/cluster/clustercfg
q3k b3c6770f8d ops, cluster: consolidate NixOS provisioning
This moves the diff-and-activate logic from cluster/nix/provision.nix
into ops/{provision,machines}.nix that can be used for both cluster
machines and bgpwtf machines.

The provisioning scripts now live per-NixOS-config, and anything under
ops.machines.$fqdn now has a .passthru.hscloud.provision derivation
which is that script. When ran, it will attempt to deploy onto the
target machine.

There's also a top-level tool at `ops.provision` which builds all
configurations / machines and can be called with the machine name/fqdn
to call the corresponding provisioner script.

clustercfg is changed to use the new provisioning logic.

Change-Id: I258abce9e8e3db42af35af102f32ab7963046353
2021-09-10 23:55:52 +00:00
..
.gitignore cluster/clustercfg: gitignore __pycache__ 2019-05-19 03:11:18 +02:00
BUILD cluster/clustercfg: fix BUILD 2020-08-22 20:33:37 +00:00
ca.py cluster: bump nearly-expired certs 2020-03-28 18:01:40 +01:00
clustercfg.py ops, cluster: consolidate NixOS provisioning 2021-09-10 23:55:52 +00:00