summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-08-21 13:02:40 +0200
committertv <tv@krebsco.de>2016-08-21 13:02:40 +0200
commitc5a8647b0439ca915cb63dd72b2bebb40bca920d (patch)
treef96f99ac5ddbd76eb0355d30b5f2da72c3560989
parent97c60835cec61d46ba0dbf0ca6586a107f2a325d (diff)
parentfc01895f366701ad5f8323642b9b2406b704d20e (diff)
Merge remote-tracking branch 'prism/master'
-rw-r--r--shared/2configs/shared-buildbot.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/shared/2configs/shared-buildbot.nix b/shared/2configs/shared-buildbot.nix
index 58db4c9..22144e9 100644
--- a/shared/2configs/shared-buildbot.nix
+++ b/shared/2configs/shared-buildbot.nix
@@ -119,15 +119,15 @@
f = util.BuildFactory()
f.addStep(grab_repo)
- addShell(f,name="build-test-all-modules",env=env,
+ for i in [ "test-all-krebs-modules", "wolf" ]:
+ addShell(f,name="build-{}".format(i),env=env,
command=nixshell + \
- ["touch retiolum.rsa_key.priv; \
- nix-build \
- --show-trace --no-out-link \
- -I nixos-config=./shared/1systems/test-all-krebs-modules.nix \
- -I secrets=. \
- -A config.system.build.toplevel"]
- )
+ ["mkdir -p /tmp/testbuild/$LOGNAME && touch /tmp/testbuild/$LOGNAME/.populate; \
+ make \
+ test \
+ target=$LOGNAME@${config.krebs.build.host.name}/tmp/testbuild/$LOGNAME \
+ method=build \
+ system={}".format(i)])
bu.append(util.BuilderConfig(name="build-local",
slavenames=slavenames,