ma 2 add support for dummy secrets

This commit is contained in:
makefu 2016-06-23 17:54:12 +02:00
parent 0b633d01e5
commit b709634ce9
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -26,7 +26,9 @@ with config.krebs.lib;
url = https://github.com/nixos/nixpkgs;
rev = "63b9785"; # stable @ 2016-06-01
};
secrets = "/home/makefu/secrets/${config.krebs.build.host.name}/";
secrets = if getEnv "dummy_secrets" == "true"
then toString <stockholm/makefu/6tests/data/secrets>
else "/home/makefu/secrets/${config.krebs.build.host.name}";
stockholm = "/home/makefu/stockholm";
# Defaults for all stockholm users?