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 (c42970c -> 7bd09e


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated (c42970c -> 7bd09e4)
Date: Fri, 29 Dec 2017 11:53:12 +0100

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

marcello pushed a change to branch master
in repository deployment.

    from c42970c  add ru
     new a72b73c  lint builder "dispatches" on projects, rather than 
"invalidating" them first and use 'make'.
     new 7bd09e4  remove unused code

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 buildbot/master.cfg       | 68 +++++++++++++++++++++++++----------------------
 taler-build/MakefileLint  | 21 ---------------
 taler-build/invalidate.sh |  4 ---
 3 files changed, 36 insertions(+), 57 deletions(-)
 delete mode 100644 taler-build/MakefileLint

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 6a37c77..c11c1c7 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -11,8 +11,8 @@ from buildbot.plugins import \
 # This is a sample buildmaster config file. It must be installed as
 # 'master.cfg' in your buildmaster's base directory.
 
-# This is the dictionary that the buildmaster pays attention to. We also use
-# a shorter alias to save typing.
+# This is the dictionary that the buildmaster pays attention to.
+# We also use a shorter alias to save typing.
 c = BuildmasterConfig = {}
 
 # Silence warning and allow very basic phoning home.
@@ -20,9 +20,10 @@ c["buildbotNetUsageData"] = "basic"
 
 ####### WORKERS
 
-# The 'workers' list defines the set of recognized workers. Each element is
-# a Worker object, specifying a unique worker name and password.  The same
-# worker name and password must be configured on the worker.
+# The 'workers' list defines the set of recognized workers. Each
+# element is 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"),
@@ -32,19 +33,19 @@ c["workers"] = [
     worker.Worker("lint-worker", "lint-pass"),
     worker.Worker("wallet-worker", "wallet-pass")]
 
-# 'protocols' contains information about protocols which master will use for
-# communicating with workers. You must define at least 'port' option that 
workers
-# could connect to your master with this protocol.
-# 'port' must match the value configured into the workers (with their
-# --master option)
+# 'protocols' contains information about protocols which master
+# will use for communicating with workers. You must define at
+# least 'port' option that workers could connect to your master
+# with this protocol. 'port' must match the value configured into
+# the workers (with their --master option)
 c["protocols"] = {
     "pb": {
         "port": "tcp:9989:interface=127.0.0.1"}}
 
 ####### CHANGESOURCES
 
-# the 'change_source' setting tells the buildmaster how it should find out
-# about source code changes.
+# the 'change_source' setting tells the buildmaster how it should
+# find out about source code changes.
 
 # NOTE: BB is bound to localhost
 ALLCS = changes.PBChangeSource(user="allcs", passwd="allcs")
@@ -53,7 +54,8 @@ c["change_source"] = [ALLCS]
 
 ####### SCHEDULERS
 
-# Configure the Schedulers, which decide how to react to incoming changes.
+# Configure the Schedulers, which decide how to react to incoming
+# changes.
 
 # Re-build documentation periodically
 
@@ -141,9 +143,10 @@ c["schedulers"] = [
 
 ####### BUILDERS
 
-# The 'builders' list defines the Builders, which tell Buildbot how to perform 
a build:
-# what steps, and which workers can execute them.  Note that any particular 
build will
-# only take place on one worker.
+# The 'builders' list defines the Builders, which tell Buildbot
+# how to perform a build: 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,
@@ -183,20 +186,18 @@ DEBUG_FACTORY.addStep(ShellCommand(
     descriptionDone="builder responded",
     command=["echo", "I'm here!"]))
 
+def lint_dispatcher(project):
+    return "./lint_%s.sh" % project
+
 LINT_FACTORY = util.BuildFactory()
 LINT_FACTORY.addStep(git_step(
     "git://git.taler.net/deployment.git"))
 LINT_FACTORY.addStep(ShellCommand(
-    name="invalidation",
-    description="checking changes",
-    descriptionDone="changes checked",
-    command=["./invalidate.sh", "--lint"],
-    workdir="build/taler-build"))
-LINT_FACTORY.addStep(ShellCommand(
-    name="linting",
-    description="Linting..",
-    descriptionDone="Linted",
-    command=["make", "-f", "MakefileLint"],
+    name="Python linter",
+    description="linting Python",
+    descriptionDone="linting done",
+    command=util.Transform(lint_dispatcher,
+                           util.Property("project")),
     workdir="build/taler-build"))
 
 LCOV_FACTORY = util.BuildFactory()
@@ -287,7 +288,8 @@ DOC_FACTORY.addStep(ShellCommand(
     name="build docs",
     description="Building documentation.",
     descriptionDone="Documentation built.",
-    command=util.Transform(doc_dispatcher, util.Property("project")),
+    command=util.Transform(doc_dispatcher,
+                           util.Property("project")),
     workdir="build/taler-build"))
 
 DEBUG_BUILDER = util.BuilderConfig(
@@ -343,9 +345,10 @@ c["builders"] = [
 
 ####### BUILDBOT SERVICES
 
-# 'services' is a list of BuildbotService items like reporter targets. The
-# status of each build will be pushed to these targets. buildbot/reporters/*.py
-# has a variety to choose from, like IRC bots.
+# 'services' is a list of BuildbotService items like reporter
+# targets. The status of each build will be pushed to these
+# targets. buildbot/reporters/*.py has a variety to choose from,
+# like IRC bots.
 
 IRC = reporters.IRC(
     "irc.eu.freenode.net",
@@ -391,7 +394,8 @@ c["www"] = {
 ####### DB URL
 
 c["db"] = {
-    # This specifies what database buildbot uses to store its state.  You can 
leave
-    # this at its default for all but the largest installations.
+    # This specifies what database buildbot uses to store its
+    # state.  You can leave  this at its default for all but the
+    # largest installations.
     "db_url" : "sqlite:///state.sqlite",
 }
diff --git a/taler-build/MakefileLint b/taler-build/MakefileLint
deleted file mode 100644
index 4dc1bb0..0000000
--- a/taler-build/MakefileLint
+++ /dev/null
@@ -1,21 +0,0 @@
-all: bank-stamp donations-stamp survey-stamp blog-stamp deployment-stamp
-
-deployment-stamp:
-       ./update_deployment.sh
-       touch $@
-
-bank-stamp:
-       ./lint_bank.sh
-       touch $@
-
-donations-stamp:
-       ./lint_donations.sh
-       touch $@
-
-survey-stamp:
-       ./lint_survey.sh
-       touch $@
-
-blog-stamp:
-       ./lint_blog.sh
-       touch $@
diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh
index 46a36b5..0fd5fd9 100755
--- a/taler-build/invalidate.sh
+++ b/taler-build/invalidate.sh
@@ -3,10 +3,6 @@
 set -eu
 components="deployment exchange merchant bank gnurl donations blog landing 
gnunet libmicrohttpd survey"
 
-if test ${1:-notgiven} = "--lint"; then
-components="bank donations survey blog"
-fi
-
 for component in  $components ; do
   cd $HOME/$component
   git fetch

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



reply via email to

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