s 2 buildbot: disable deployment test to cac

This commit is contained in:
makefu 2016-06-06 21:27:29 +02:00
parent e2fd2f2ff8
commit 7bbf87d9a4
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -32,7 +32,11 @@
force-scheduler = '' force-scheduler = ''
sched.append(schedulers.ForceScheduler( sched.append(schedulers.ForceScheduler(
name="force", name="force",
builderNames=["full-tests","fast-tests","build-local"])) builderNames=[
# "full-tests",
"fast-tests",
"build-local"
]))
''; '';
fast-tests-scheduler = '' fast-tests-scheduler = ''
# test everything real quick # test everything real quick
@ -57,7 +61,10 @@
fileIsImportant=shared_files, fileIsImportant=shared_files,
treeStableTimer=60*60, # master was stable for the last hour treeStableTimer=60*60, # master was stable for the last hour
name="full-master", name="full-master",
builderNames=["full-tests","build-local"])) builderNames=[
# "full-tests",
"build-local"
]))
''; '';
}; };
builder_pre = '' builder_pre = ''
@ -135,24 +142,24 @@
slavenames=slavenames, slavenames=slavenames,
factory=f)) factory=f))
''; '';
slow-tests = '' # slow-tests = ''
s = util.BuildFactory() # s = util.BuildFactory()
s.addStep(grab_repo) # s.addStep(grab_repo)
#
# slave needs 2 files: # # slave needs 2 files:
# * cac.json # # * cac.json
# * retiolum # # * retiolum
s.addStep(steps.FileDownload(mastersrc="${config.krebs.buildbot.master.workDir}/cac.json", slavedest="cac.json")) # s.addStep(steps.FileDownload(mastersrc="${config.krebs.buildbot.master.workDir}/cac.json", slavedest="cac.json"))
s.addStep(steps.FileDownload(mastersrc="${config.krebs.buildbot.master.workDir}/retiolum-ci.rsa_key.priv", slavedest="retiolum.rsa_key.priv")) # s.addStep(steps.FileDownload(mastersrc="${config.krebs.buildbot.master.workDir}/retiolum-ci.rsa_key.priv", slavedest="retiolum.rsa_key.priv"))
addShell(s, name="infest-cac-centos7",env=env, # addShell(s, name="infest-cac-centos7",env=env,
sigtermTime=60, # SIGTERM 1 minute before SIGKILL # sigtermTime=60, # SIGTERM 1 minute before SIGKILL
timeout=10800, # 3h # timeout=10800, # 3h
command=nixshell + ["infest-cac-centos7"]) # command=nixshell + ["infest-cac-centos7"])
#
bu.append(util.BuilderConfig(name="full-tests", # bu.append(util.BuilderConfig(name="full-tests",
slavenames=slavenames, # slavenames=slavenames,
factory=s)) # factory=s))
''; # '';
}; };
enable = true; enable = true;
web = { web = {