[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: abstracting the G
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: abstracting the Git step |
Date: |
Sat, 04 Nov 2017 22:20:09 +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 8895eb9 abstracting the Git step
8895eb9 is described below
commit 8895eb97be7f86d751c518714af4b631229a774c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 4 22:19:50 2017 +0100
abstracting the Git step
---
buildbot/master.cfg | 59 +++++++++++++++++------------------------------------
1 file changed, 19 insertions(+), 40 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 3f311b4..a35601d 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -127,15 +127,18 @@ c["schedulers"] = [
# what steps, and which workers can execute them. Note that any particular
build will
# only take place on one worker.
+def git_step(repo):
+ return Git(repourl=repo,
+ mode="full",
+ method="fresh",
+ logEnviron=False,
+ alwaysUseLatest=True,
+ haltOnFailure=True,
+ branch="master")
+
WALLET_FACTORY = util.BuildFactory()
-WALLET_FACTORY.addStep(Git(
- repourl="git://git.taler.net/wallet-webex.git",
- mode="full",
- method="fresh",
- logEnviron=False,
- alwaysUseLatest=True,
- haltOnFailure=True,
- branch="master"))
+WALLET_FACTORY.addStep(git_step(
+ "git://git.taler.net/wallet-webex.git"))
WALLET_FACTORY.addStep(ShellCommand(
name="configuration",
description="Running configure script",
@@ -157,14 +160,8 @@ DEBUG_FACTORY.addStep(ShellCommand(
command=["echo", "I'm here!"]))
LINT_FACTORY = util.BuildFactory()
-LINT_FACTORY.addStep(Git(
- repourl='git://git.taler.net/bank.git',
- mode="full",
- method="fresh",
- logEnviron=False,
- alwaysUseLatest=True,
- haltOnFailure=True,
- branch="master"))
+LINT_FACTORY.addStep(git_step(
+ "git://git.taler.net/bank.git")
LINT_FACTORY.addStep(ShellCommand(
name="code linter",
description="running static analysis",
@@ -175,14 +172,8 @@ LINT_FACTORY.addStep(ShellCommand(
"talerbank/"]))
LCOV_FACTORY = util.BuildFactory()
-LCOV_FACTORY.addStep(Git(
- repourl='git://git.taler.net/deployment.git',
- mode="full",
- method='fresh',
- logEnviron=False,
- alwaysUseLatest=True,
- haltOnFailure=True,
- branch='master'))
+LCOV_FACTORY.addStep(git_step(
+ 'git://git.taler.net/deployment.git')
LCOV_FACTORY.addStep(ShellCommand(
name="invalidation",
description="Invalidating timestamps",
@@ -199,14 +190,8 @@ LCOV_FACTORY.addStep(ShellCommand(
"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",
- logEnviron=False,
- alwaysUseLatest=True,
- haltOnFailure=True,
- branch="master"))
+SWITCHER_FACTORY.addStep(git_step(
+ 'git://git.taler.net/deployment.git')
SWITCHER_FACTORY.addStep(ShellCommand(
name="build",
description="Building inactive blue-green party.",
@@ -242,14 +227,8 @@ SELENIUM_FACTORY.addStep(ShellCommand(
# this factory builds {api,docs}.taler.net AND {www,stage}.taler.net
DOC_FACTORY = util.BuildFactory()
-DOC_FACTORY.addStep(Git(
- repourl="git://git.taler.net/deployment.git",
- mode="full",
- method="fresh",
- logEnviron=False,
- alwaysUseLatest=True,
- haltOnFailure=True,
- branch='master'))
+DOC_FACTORY.addStep(git_step(
+ "git://git.taler.net/deployment.git")
DOC_FACTORY.addStep(ShellCommand(
name="build docs",
description="Building documentation.",
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: abstracting the Git step,
gnunet <=