From f21ec7612c1151a3a679a67b08a768aac43a9605 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 7 Sep 2018 17:40:10 +0200 Subject: l krops: prepare .ci for buildbot --- lass/krops.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'lass/krops.nix') diff --git a/lass/krops.nix b/lass/krops.nix index 5111730e..cf2ebfbd 100644 --- a/lass/krops.nix +++ b/lass/krops.nix @@ -30,13 +30,11 @@ in { # usage: $(nix-build --no-out-link --argstr name HOSTNAME -A test) test = pkgs.krops.writeTest "${name}-test" { source = source { test = true; }; - target = "${lib.getEnv "HOME"}/tmp/${name}-krops-test-src"; + target = "${lib.getEnv "HOME"}/tmp/${name}-stockholm-test"; }; - ci = map (host: - pkgs.krops.writeTest "${host.name}-test" { - source = source { test = true; }; - target = "${lib.getEnv "TMPDIR"}/lass/${host.name}"; - } - ) (lib.filter (host: lib.getAttr "ci" host && host.owner == "lass") (lib.attrValues config.krebs.hosts)); + ci = pkgs.krops.writeTest "${name}-test" { + source = source { test = true; }; + target = "${lib.getEnv "HOME"}/stockholm-build"; + }; } -- cgit v1.2.3