summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-18 13:50:52 +0200
committerlassulus <lass@aidsballs.de>2016-06-18 15:35:36 +0200
commit75ba114468a8f025d5916f5b7fce34635d9bbc1a (patch)
tree6c9f6d495412fd2b6811a29d241fe6234efdb2a6 /lass
parent30a80d67df7a41baab1fc3557d220c0cbbd5cf0c (diff)
l 2: override stockholm if dummy_secrets
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index deb3c46c2..9e0e37e48 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -59,12 +59,13 @@ with config.krebs.lib;
user = config.krebs.users.lass;
source = mapAttrs (_: mkDefault) ({
nixos-config = "symlink:stockholm/lass/1systems/${config.krebs.build.host.name}.nix";
- secrets =
- if getEnv "dummy_secrets" == "true"
+ secrets = if getEnv "dummy_secrets" == "true"
then toString <stockholm/lass/2configs/tests/dummy-secrets>
else "/home/lass/secrets/${config.krebs.build.host.name}";
#secrets-common = "/home/lass/secrets/common";
- stockholm = "/home/lass/stockholm";
+ stockholm = if getEnv "dummy_secrets" == "true"
+ then "/var/lib/buildbot/slave/build-all/build"
+ else "/home/lass/stockholm";
} // optionalAttrs config.krebs.build.host.secure {
#secrets-master = "/home/lass/secrets/master";
});