buildbot-stockholm: build using the test attribute
While at it, fix */krops.nix to actually use the target attribute.
This commit is contained in:
parent
976f683915
commit
955efb307e
|
@ -75,14 +75,9 @@ in {
|
|||
target = "root@${target}/var/src";
|
||||
};
|
||||
|
||||
# usage: $(nix-build --no-out-link --argstr name HOSTNAME -A test)
|
||||
# usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test)
|
||||
test = pkgs.krops.writeTest "${name}-test" {
|
||||
inherit target;
|
||||
source = source { test = true; };
|
||||
target = "${lib.getEnv "HOME"}/tmp/${name}-krops-test-src";
|
||||
};
|
||||
|
||||
ci = pkgs.krops.writeTest "${name}-test" {
|
||||
source = source { test = true; };
|
||||
target = "${lib.getEnv "HOME"}/stockholm-build";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue