From e820134d38c3b7470ea5112f40a6dc967f039878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 5 Jan 2020 17:08:32 +0100 Subject: Add monitoring host --- nixops/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixops/Makefile') diff --git a/nixops/Makefile b/nixops/Makefile index 5e654ee..02d34f8 100644 --- a/nixops/Makefile +++ b/nixops/Makefile @@ -36,6 +36,9 @@ ssh-eldiron: ssh-backup-2: $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS) +ssh-monitoring-1: + $(NIXOPS_PRIV) ssh monitoring-1 -- $(SSH_ARGS) + info: $(NIXOPS_PRIV) list $(NIXOPS_PRIV) info @@ -74,11 +77,15 @@ list-generations: delete-generations: nix-env -p $(profile) --delete-generations $(GEN) $(NIXOPS_PRIV) ssh eldiron -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) + $(NIXOPS_PRIV) ssh backup-2 -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) + $(NIXOPS_PRIV) ssh monitoring-1 -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) .PHONY: delete-generations cleanup: delete-generations nix-store --gc $(NIXOPS_PRIV) ssh eldiron -- nix-store --gc + $(NIXOPS_PRIV) ssh backup-2 -- nix-store --gc + $(NIXOPS_PRIV) ssh monitoring-1 -- nix-store --gc .PHONY: cleanup ###### Pull environment and deployment from remote -- cgit v1.2.3