From b75aa4ac5c4e3fbbd9fa26931da249480a0f940d Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 26 Jul 2021 03:55:56 +0200 Subject: [PATCH] core-services-01(autodeploy): enable default /var/src usage through systemd tmp filesystem and force creation of sentinel file --- .drone.yml | 1 - krops.nix | 1 + machines/core-services-01/nix/sources.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2e82012..5feb66e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,6 @@ steps: - name: Build core-services-01 configuration commands: - "export NIX_PATH=nixpkgs=/var/nixpkgs" - - "mkdir -p /var/src && touch /var/src/.populate" - "echo Building core-services-01 && nix-build krops.nix -A test-core-services-01 && ./result" ... diff --git a/krops.nix b/krops.nix index e901f03..82d0435 100644 --- a/krops.nix +++ b/krops.nix @@ -25,6 +25,7 @@ in test-core-services-01 = pkgs.krops.writeTest "test-core-services-01" { source = source "core-services-01"; target = "localhost"; + force = true; # force create the sentinel file. }; } diff --git a/machines/core-services-01/nix/sources.json b/machines/core-services-01/nix/sources.json index 5853cb2..234be1c 100644 --- a/machines/core-services-01/nix/sources.json +++ b/machines/core-services-01/nix/sources.json @@ -14,7 +14,7 @@ "klubrz-nur": { "branch": "main", "repo": "https://git.rz.ens.wtf/Klub-RZ/nur", - "rev": "3f6a760254c3259e6abc0dcf443c533cd999a739", + "rev": "901e08a94819f07499ec6cfbea1e24808e19e4b6", "type": "git" }, "niv": {