taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit fb38c800b7acaaeeba8aeb6c28bbf34299dbc841
parent fc8b09c5fef9d31b8fb2907989ab79f1a44535f0
Author: Javier Sepulveda <javier.sepulveda@uv.es>
Date:   Mon, 30 Jan 2023 12:45:22 +0100

Change buildbot worker for docs.git

Diffstat:
Mbuildbot/master.cfg | 25++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -215,18 +215,37 @@ SCHEDULERS.append(schedulers.SingleBranchScheduler( # Location: /home/docbuilder @ taler.net WORKERS.append(worker.Worker("doc-worker", "doc-pass")) +# DOCS.GIT - GENERATE STEP 1 (create docker image) - javisep + DOC_FACTORY = create_factory_with_deployment() DOC_FACTORY.addStep( ShellCommand( - name="build docs", + name="build image docs", description="Building documentation", descriptionDone="Documentation built.", - command=["./build-docs.sh"], - workdir="../../deployment/buildbot", + command=["./build.sh"], + workdir="../../deployment/docker/docs-build", + env={'PATH': "${HOME}/.local/bin:${PATH}"}, + haltOnFailure=True + ) +) + +# DOCS.GIT - GENERATE STEP 2 (execute docker image) - javisep + +DOC_FACTORY.addStep( + ShellCommand( + name="run image docs", + description="Building documentation", + descriptionDone="Documentation built.", + command=["./run.sh"], + workdir="../../deployment/docker/docs-build", env={'PATH': "${HOME}/.local/bin:${PATH}"}, haltOnFailure=True ) ) + +# OTHER STUFF, IN THE SAME WORKER ... + DOC_FACTORY.addStep( steps.ShellSequence( name="prepare exchange",