summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-12-12 11:59:50 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-12-12 11:59:50 +0100
commit49b3c54d027b3ed7e889a788c712efbb8f6434bf (patch)
tree63e548052aa7789d23a452015630f3fad3640906
parent09b21a6f01e32c85c5c349878fa58c49dc898d57 (diff)
downloaddeployment-49b3c54d027b3ed7e889a788c712efbb8f6434bf.tar.gz
deployment-49b3c54d027b3ed7e889a788c712efbb8f6434bf.tar.bz2
deployment-49b3c54d027b3ed7e889a788c712efbb8f6434bf.zip
using right api to dispatch doc builds
-rw-r--r--buildbot/master.cfg19
1 files changed, 10 insertions, 9 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 9494fac..2e529a0 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -73,7 +73,7 @@ DOC_SCHEDULER = schedulers.SingleBranchScheduler(
change_filter=util.ChangeFilter(
branch="master",
filter_fn=doc_filter,
- project_re="api|www|bank|exchange|merchant|deployment|merchant-frontend-examples"),
+ project_re="help|api|www|bank|exchange|merchant|deployment|merchant-frontend-examples"),
treeStableTimer=None)
WALLET_SCHEDULER = schedulers.SingleBranchScheduler(
@@ -262,13 +262,14 @@ SELENIUM_FACTORY.addStep(ShellCommand(
def doc_dispatcher(project):
switch = {
- "api": "./update_api.sh",
- "www": "./update_www_and_stage.sh",
- "bank": "./update_bank.sh",
- "merchant": "./update_doc_merchant.sh",
- "exchange": "./update_doc_exchange.sh",
- "merchant-frontend-examples": "./update_tutorials.sh",
- "deployment": "./update_onboarding.sh",
+ "api": ["./update_api.sh"],
+ "www": ["./update_www_and_stage.sh"],
+ "bank": ["./update_bank.sh"],
+ "merchant": ["./update_doc_merchant.sh"],
+ "exchange": ["./update_doc_exchange.sh"],
+ "merchant-frontend-examples": ["./update_tutorials.sh"],
+ "deployment": ["./update_onboarding.sh"],
+ "help": ["echo", "dispatcher", "debug"]
}
# Force schedules trigger the default.
return switch.get(project, "./update_api.sh")
@@ -280,7 +281,7 @@ DOC_FACTORY.addStep(ShellCommand(
name="build docs",
description="Building documentation.",
descriptionDone="Documentation built.",
- command=[doc_dispatcher(util.Interpolate("%(prop:project)s"))],
+ command=util.Transform(doc_dispatcher, util.Property("project")),
workdir="build/taler-build"))
DEBUG_BUILDER = util.BuilderConfig(