diff options
author | makefu <github@syntax-fehler.de> | 2016-06-23 17:54:12 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-06-23 17:54:12 +0200 |
commit | b709634ce9e61323b19aaf1b31c433f79f556fad (patch) | |
tree | 167f73ff78742eb0d56498d95533d2b50d8d7549 /makefu/2configs | |
parent | 0b633d01e50e4d1d022cce56ad771153f6888534 (diff) |
ma 2 add support for dummy secrets
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix index a753e6777..422927b28 100644 --- a/makefu/2configs/default.nix +++ b/makefu/2configs/default.nix @@ -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? |