From 7bbf87d9a4923f15cc04847ad762e4279ee752bf Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Mon, 6 Jun 2016 21:27:29 +0200
Subject: [PATCH] s 2 buildbot: disable deployment test to cac

---
 shared/2configs/shared-buildbot.nix | 47 +++++++++++++++++------------
 1 file changed, 27 insertions(+), 20 deletions(-)

diff --git a/shared/2configs/shared-buildbot.nix b/shared/2configs/shared-buildbot.nix
index 9804580db..5f3b35304 100644
--- a/shared/2configs/shared-buildbot.nix
+++ b/shared/2configs/shared-buildbot.nix
@@ -32,7 +32,11 @@
         force-scheduler = ''
   sched.append(schedulers.ForceScheduler(
                               name="force",
-                              builderNames=["full-tests","fast-tests","build-local"]))
+                              builderNames=[
+                              #  "full-tests",
+                                "fast-tests",
+                                "build-local"
+                              ]))
         '';
         fast-tests-scheduler = ''
   # test everything real quick
@@ -57,7 +61,10 @@
                               fileIsImportant=shared_files,
                               treeStableTimer=60*60, # master was stable for the last hour
                               name="full-master",
-                              builderNames=["full-tests","build-local"]))
+                              builderNames=[
+                              #  "full-tests",
+                                "build-local"
+                              ]))
         '';
     };
     builder_pre = ''
@@ -135,24 +142,24 @@
         slavenames=slavenames,
         factory=f))
       '';
-      slow-tests = ''
-  s = util.BuildFactory()
-  s.addStep(grab_repo)
-
-  # slave needs 2 files:
-  # * cac.json
-  # * 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}/retiolum-ci.rsa_key.priv", slavedest="retiolum.rsa_key.priv"))
-  addShell(s, name="infest-cac-centos7",env=env,
-              sigtermTime=60,           # SIGTERM 1 minute before SIGKILL
-              timeout=10800,             # 3h
-              command=nixshell + ["infest-cac-centos7"])
-
-  bu.append(util.BuilderConfig(name="full-tests",
-        slavenames=slavenames,
-        factory=s))
-      '';
+#      slow-tests = ''
+#  s = util.BuildFactory()
+#  s.addStep(grab_repo)
+#
+#  # slave needs 2 files:
+#  # * cac.json
+#  # * 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}/retiolum-ci.rsa_key.priv", slavedest="retiolum.rsa_key.priv"))
+#  addShell(s, name="infest-cac-centos7",env=env,
+#              sigtermTime=60,           # SIGTERM 1 minute before SIGKILL
+#              timeout=10800,             # 3h
+#              command=nixshell + ["infest-cac-centos7"])
+#
+#  bu.append(util.BuilderConfig(name="full-tests",
+#        slavenames=slavenames,
+#        factory=s))
+#      '';
     };
     enable = true;
     web = {