From e98ec690b912fdf54444d88e668cff74016fe15b Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 22 Jan 2024 23:21:26 +0100 Subject: staging: updates --- cluster/staging/app/im/deploy/im-nix.hcl | 2 +- cluster/staging/cluster.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cluster/staging/app/im/deploy/im-nix.hcl b/cluster/staging/app/im/deploy/im-nix.hcl index 318e954..51cf57e 100644 --- a/cluster/staging/app/im/deploy/im-nix.hcl +++ b/cluster/staging/app/im/deploy/im-nix.hcl @@ -33,7 +33,7 @@ job "im" { ] command = "litestream" args = [ - "restore", "-v", "-config", "/etc/litestream.yml", "/ephemeral/homeserver.db" + "restore", "-config", "/etc/litestream.yml", "/ephemeral/homeserver.db" ] bind = { "../alloc/data" = "/ephemeral", diff --git a/cluster/staging/cluster.nix b/cluster/staging/cluster.nix index b4bcfe4..7addac3 100644 --- a/cluster/staging/cluster.nix +++ b/cluster/staging/cluster.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... } @ args: +{ config, pkgs, lib, ... } @ args: { deuxfleurs.clusterName = "staging"; @@ -98,6 +98,9 @@ ## ===== EXPERIMENTAL SECTION FOR STAGING CLUSTER ===== + # Test nomad 1.6 + services.nomad.package = lib.mkForce pkgs.nomad_1_6; + # We're doing lots of experiments so GC periodically is usefull. nix.gc.automatic = true; -- cgit v1.2.3