l 2: override stockholm if dummy_secrets
This commit is contained in:
parent
30a80d67df
commit
75ba114468
@ -59,12 +59,13 @@ with config.krebs.lib;
|
|||||||
user = config.krebs.users.lass;
|
user = config.krebs.users.lass;
|
||||||
source = mapAttrs (_: mkDefault) ({
|
source = mapAttrs (_: mkDefault) ({
|
||||||
nixos-config = "symlink:stockholm/lass/1systems/${config.krebs.build.host.name}.nix";
|
nixos-config = "symlink:stockholm/lass/1systems/${config.krebs.build.host.name}.nix";
|
||||||
secrets =
|
secrets = if getEnv "dummy_secrets" == "true"
|
||||||
if getEnv "dummy_secrets" == "true"
|
|
||||||
then toString <stockholm/lass/2configs/tests/dummy-secrets>
|
then toString <stockholm/lass/2configs/tests/dummy-secrets>
|
||||||
else "/home/lass/secrets/${config.krebs.build.host.name}";
|
else "/home/lass/secrets/${config.krebs.build.host.name}";
|
||||||
#secrets-common = "/home/lass/secrets/common";
|
#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 {
|
} // optionalAttrs config.krebs.build.host.secure {
|
||||||
#secrets-master = "/home/lass/secrets/master";
|
#secrets-master = "/home/lass/secrets/master";
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user