swarm-archive serves restic repositories with rclone, append-only, one login and one repository per agent. swarm-controller writes each placed agent's login and restic password to the store, replaces them on a move and removes them when the agent is destroyed. Every hive backs its agents up hourly under its own store identity. The archive host prunes by retention.
16 lines
723 B
Nix
16 lines
723 B
Nix
# NixOS VM tests: one derivation per test, exposed as `vmTests.<system>.<name>`.
|
|
# Kept out of `checks` because each boots VMs and needs KVM; the nightly
|
|
# workflow `.forgejo/workflows/vm-nightly.yml` builds them.
|
|
{
|
|
pkgs,
|
|
hivePriv,
|
|
self,
|
|
}:
|
|
{
|
|
agent-ephemeral-rootfs = import ./vm-tests/agent-ephemeral-rootfs.nix { inherit pkgs hivePriv; };
|
|
wg-hive = import ./vm-tests/wg-hive.nix { inherit pkgs self; };
|
|
hive-squid = import ./vm-tests/hive-squid.nix { inherit pkgs; };
|
|
swarm-archive = import ./vm-tests/swarm-archive.nix { inherit pkgs; };
|
|
swarm-builder-offline = import ./vm-tests/swarm-builder-offline.nix { inherit pkgs self; };
|
|
full-setup = import ./vm-tests/full-setup.nix { inherit pkgs self; };
|
|
}
|