gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: Restoring buildbo


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Restoring buildbot worker that switches blue-green active party.
Date: Mon, 06 Mar 2017 21:23:47 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 47e17ee  Restoring buildbot worker that switches blue-green active 
party.
47e17ee is described below

commit 47e17ee52ad3cea9917cd5de56e984a79292d536
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Mar 6 21:23:15 2017 +0100

    Restoring buildbot worker that switches blue-green
    active party.
---
 buildbot/master.cfg | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index acc2b47..f91a997 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -17,7 +17,8 @@ c['collapseRequest'] = True
 # a Worker object, specifying a unique worker name and password.  The same
 # worker name and password must be configured on the worker.
 c['workers'] = [worker.Worker("lcov-worker", "lcov-pass"),
-                worker.Worker("selenium-worker", "selenium-pass")]
+                worker.Worker("selenium-worker", "selenium-pass"),
+                worker.Worker("switcher-worker", "switcher-pass")]
 
 # 'protocols' contains information about protocols which master will use for
 # communicating with workers. You must define at least 'port' option that 
workers
@@ -55,10 +56,10 @@ c['schedulers'].append(schedulers.SingleBranchScheduler(
                             name="all",
                             change_filter=util.ChangeFilter(branch='master'),
                             treeStableTimer=None,
-                            builderNames=["lcov-builder", "selenium-builder"]))
+                            builderNames=["lcov-builder", "selenium-builder", 
"switcher-builder"]))
 c['schedulers'].append(schedulers.ForceScheduler(
                             name="force",
-                            builderNames=["lcov-builder", "selenium-builder"]))
+                            builderNames=["lcov-builder", "selenium-builder", 
"switcher-builder"]))
 
 ####### BUILDERS
 
@@ -93,6 +94,18 @@ lcov_factory.addStep(ShellCommand(name="builder",
                                   env={'PATH': "${HOME}/local/bin:${PATH}",
                                   'TALER_CHECKDB': 
"postgresql:///talercheck?host=/home/${USER}/sockets"}))
 
+switcher_factory = util.BuildFactory()
+switcher_factory.addStep(Git(repourl='git://git.taler.net/deployment.git',
+                         mode='full',
+                         method='fresh',
+                         alwaysUseLatest=True,
+                         haltOnFailure=True,
+                         branch='master'))
+switcher_factory.addStep(ShellCommand(name="build",
+                                  description="Building inactive blue-green 
party.",
+                                  descriptionDone="timestamps invalidated",
+                                  command=["./switch_bluegreen.sh"], 
+                                  workdir="build/taler-build"))                
     
 selenium_factory = util.BuildFactory()
 selenium_factory.addStep(ShellCommand(name="selenium",
                                       description="Headless browser test",
@@ -107,6 +120,11 @@ c['builders'].append(
       factory=lcov_factory))
 
 c['builders'].append(
+    util.BuilderConfig(name="switcher-builder",
+      workernames=["switcher-worker"],
+      factory=switcher_factory))
+
+c['builders'].append(
     util.BuilderConfig(name="selenium-builder",
       workernames=["selenium-worker"],
       factory=selenium_factory))

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]