summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-04-13 17:31:32 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-04-13 17:31:32 +0200
commitbdd8d4d045591365a2cf56b9549de44bcbf810ae (patch)
tree2a88489fd8ea4defd64268714dfe6bcaa049ca7d /buildbot
parent7e4f31ace8f74af048a1e83ab726efbc08ed1b81 (diff)
downloaddeployment-bdd8d4d045591365a2cf56b9549de44bcbf810ae.tar.gz
deployment-bdd8d4d045591365a2cf56b9549de44bcbf810ae.tar.bz2
deployment-bdd8d4d045591365a2cf56b9549de44bcbf810ae.zip
adapting buildbot to new namings
Diffstat (limited to 'buildbot')
-rw-r--r--buildbot/master.cfg64
1 files changed, 32 insertions, 32 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index bff0443..31922b3 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -3,7 +3,7 @@
c = BuildmasterConfig = {}
-tmp = "/tmp/taler-mint"
+tmp = "/tmp/taler-exchange"
####### BUILDSLAVES
@@ -22,7 +22,7 @@ c['protocols'] = {'pb': {'port': 9989}}
from buildbot.changes.gitpoller import GitPoller
c['change_source'] = []
c['change_source'].append(GitPoller(
- 'git://git.taler.net/mint.git',
+ 'git://git.taler.net/exchange.git',
workdir='gitpoller-workdir', branch='master',
pollinterval=300))
@@ -34,23 +34,23 @@ from buildbot.changes import filter
c['schedulers'] = []
git = SingleBranchScheduler(
- name="mint-commit",
+ name="exchange-commit",
reason="Commit pushed to the git repository",
change_filter=filter.ChangeFilter(branch='master'),
treeStableTimer=600,
- builderNames=["mint-build"])
+ builderNames=["exchange-build"])
force = ForceScheduler(
name="force-build",
revision=FixedParameter(name="revision", default=""),
repository=FixedParameter(name="repository", default=""),
project=FixedParameter(name="project", default=""),
- builderNames=["mint-build","mint-perf"])
+ builderNames=["exchange-build","exchange-perf"])
successful = Dependent(
- name="mint-perf",
+ name="exchange-perf",
upstream=git,
- builderNames=["mint-perf"])
+ builderNames=["exchange-perf"])
c['schedulers'] = [git, force, successful]
@@ -67,80 +67,80 @@ import os
# Compilation, installation and tests of Taler
-mintBuild = BuildFactory()
-mintBuild.addStep(Git(repourl='git://git.taler.net/mint.git', mode='full', method = 'fresh'))
-mintBuild.addStep(ShellCommand(
+exchangeBuild = BuildFactory()
+exchangeBuild.addStep(Git(repourl='git://git.taler.net/exchange.git', mode='full', method = 'fresh'))
+exchangeBuild.addStep(ShellCommand(
name="bootstrap",
description="bootstraping",
descriptionDone="bootstraped",
command=["./bootstrap"],
hideStepIf=True))
-mintBuild.addStep(Configure(command=["./configure", "--prefix="+tmp]))
-mintBuild.addStep(Compile(command=["make"]))
-mintBuild.addStep(ShellCommand(name="Install",
+exchangeBuild.addStep(Configure(command=["./configure", "--prefix="+tmp]))
+exchangeBuild.addStep(Compile(command=["make"]))
+exchangeBuild.addStep(ShellCommand(name="Install",
description="Installing",
command=["make", "install"]))
# Starting from a clean database
-mintBuild.addStep(ShellCommand(name="Drop database",
+exchangeBuild.addStep(ShellCommand(name="Drop database",
command=["psql", "-c", "DROP DATABASE talercheck"],
hideStepIf=True,
flunkOnFailure=False))
-mintBuild.addStep(ShellCommand(name="Create database",
+exchangeBuild.addStep(ShellCommand(name="Create database",
command=["psql", "-c", "CREATE DATABASE talercheck"],
hideStepIf=True))
# run the tests
-mintBuild.addStep(Test(command=["make","check"],
+exchangeBuild.addStep(Test(command=["make","check"],
env={'PATH':tmp + "/bin:" + os.environ['PATH']}))
# running the performence tests for Taler
-mintPerf = BuildFactory()
+exchangePerf = BuildFactory()
# compile
-mintPerf.addStep(Git(repourl='git://git.taler.net/mint.git',
+exchangePerf.addStep(Git(repourl='git://git.taler.net/exchange.git',
mode='full',
method = 'fresh'))
-mintPerf.addStep(ShellCommand(
+exchangePerf.addStep(ShellCommand(
name="bootstrap",
description="bootstraping",
descriptionDone="bootstraped",
command=["./bootstrap"],
hideStepIf=True))
-mintPerf.addStep(Configure(command=["./configure", "--prefix="+tmp]))
-mintPerf.addStep(Compile(command=["make"]))
-mintPerf.addStep(Compile(command=["make","-C","src/mintdb/","perf-mintdb"]))
+exchangePerf.addStep(Configure(command=["./configure", "--prefix="+tmp]))
+exchangePerf.addStep(Compile(command=["make"]))
+exchangePerf.addStep(Compile(command=["make","-C","src/exchangedb/","perf-exchangedb"]))
# create the database anew
-mintPerf.addStep(ShellCommand(name="Drop database",
+exchangePerf.addStep(ShellCommand(name="Drop database",
command=["psql",
"-c",
"DROP DATABASE talercheck"],
hideStepIf=True))
-mintPerf.addStep(ShellCommand(name="Create database",
+exchangePerf.addStep(ShellCommand(name="Create database",
command=["psql",
"-c",
"CREATE DATABASE talercheck"],
hideStepIf=True))
# Run the performance tests
-mintPerf.addStep(ShellCommand(name="perf-measure",
+exchangePerf.addStep(ShellCommand(name="perf-measure",
description="measuring",
descriptionDone="measured",
- command=["./perf-mintdb"],
- workdir="build/src/mintdb",
+ command=["./perf-exchangedb"],
+ workdir="build/src/exchangedb",
timeout=None))
from buildbot.config import BuilderConfig
c['builders'] = []
c['builders'].append(
- BuilderConfig(name="mint-build",
+ BuilderConfig(name="exchange-build",
slavenames=slaveNames,
- factory=mintBuild))
+ factory=exchangeBuild))
c['builders'].append(
- BuilderConfig(name="mint-perf",
+ BuilderConfig(name="exchange-perf",
slavenames=slaveNames,
- factory=mintPerf))
+ factory=exchangePerf))
####### STATUS TARGETS
@@ -151,7 +151,7 @@ from buildbot.status.web import authz, auth
authz_cfg=authz.Authz(
# change any of these to True to enable; see the manual for more
# options
- auth=auth.BasicAuth([("nfournier","taler")]),
+ auth=auth.BasicAuth([("marcello","taler")]),
gracefulShutdown = False,
forceBuild = 'auth', # use this to test your slave once it is set up
forceAllBuilds = False,