summaryrefslogtreecommitdiffstats
path: root/lass/2configs/buildbot-standalone.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-23 17:48:42 +0200
committerlassulus <lass@aidsballs.de>2016-06-23 17:48:42 +0200
commit3d1f3e697db96491adbe49fc516489fab81f6617 (patch)
treede8f47f4abd2be986c359c0e47711b91369589c0 /lass/2configs/buildbot-standalone.nix
parent271a59b1d6222f7336fac427631ee5bb569a000e (diff)
l 2 buildbot-standalone: build-all -> build-lass
Diffstat (limited to 'lass/2configs/buildbot-standalone.nix')
-rw-r--r--lass/2configs/buildbot-standalone.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/lass/2configs/buildbot-standalone.nix b/lass/2configs/buildbot-standalone.nix
index 7d3c236a6..8fe2b4074 100644
--- a/lass/2configs/buildbot-standalone.nix
+++ b/lass/2configs/buildbot-standalone.nix
@@ -37,14 +37,14 @@ in {
name="fast-all-branches",
builderNames=["fast-tests"]))
'';
- build-all-scheduler = ''
+ build-lass-scheduler = ''
# build all lass hosts
sched.append(schedulers.SingleBranchScheduler(
## only master
change_filter=util.ChangeFilter(branch_re="master"),
treeStableTimer=10,
name="prism-master",
- builderNames=["build-all"]))
+ builderNames=["build-lass"]))
'';
};
builder_pre = ''
@@ -52,7 +52,7 @@ in {
grab_repo = steps.Git(repourl=stockholm_repo, mode='incremental')
# TODO: get nixpkgs/stockholm paths from krebs
- env = {
+ env_lass = {
"LOGNAME": "lass",
"NIX_REMOTE": "daemon",
"dummy_secrets": "true",
@@ -73,12 +73,12 @@ in {
factory.addStep(steps.ShellCommand(**kwargs))
'';
builder = {
- build-all = ''
+ build-lass = ''
f = util.BuildFactory()
f.addStep(grab_repo)
#TODO: get hosts via krebs
for i in [ "mors", "uriel", "shodan", "helios", "cloudkrebs", "echelon", "dishfire", "prism" ]:
- addShell(f,name="build-{}".format(i),env=env,
+ addShell(f,name="build-{}".format(i),env=env_lass,
command=nixshell + \
["make \
test \
@@ -87,7 +87,7 @@ in {
method=build \
system={}".format(i)])
- bu.append(util.BuilderConfig(name="build-all",
+ bu.append(util.BuilderConfig(name="build-lass",
slavenames=slavenames,
factory=f))
@@ -96,12 +96,12 @@ in {
f = util.BuildFactory()
f.addStep(grab_repo)
for i in [ "prism", "mors", "echelon" ]:
- addShell(f,name="populate-{}".format(i),env=env,
+ addShell(f,name="populate-{}".format(i),env=env_lass,
command=nixshell + \
["{}( make system={} eval.config.krebs.build.populate \
| jq -er .)".format("!" if "failing" in i else "",i)])
- addShell(f,name="build-test-minimal",env=env,
+ addShell(f,name="build-test-minimal",env=env_lass,
command=nixshell + \
["nix-instantiate \
--show-trace --eval --strict --json \