taler-deployment

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

commit 5a5638c56ad43d34862e24b13e2e60fe4c9fa44d
parent bc2d291ca629463475203c2315b7b38e9d4eb127
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 29 Aug 2020 00:39:05 +0200

run doxygen as part of codespell

Diffstat:
Abuildbot/doxygen.sh | 14++++++++++++++
Mbuildbot/master.cfg | 44++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/buildbot/doxygen.sh b/buildbot/doxygen.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -eu + +doxygen $1 2> doxygen.err.raw +grep -v "has multiple @param" doxygen.err.raw | grep -v "too many nodes" > doxygen.err +cat doxygen.err +LC=`wc -l doxygen.err` +if [[ $LC = 0 ]] +then + exit 0 +else + exit 1 +fi diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -728,6 +728,50 @@ CODESPELL_FACTORY.addStep( ) +CODESPELL_FACTORY.addStep( + ShellCommand( + name="gana", + description="fetch GANA", + descriptionDone="GANA obtained", + command=["contrib/gana.sh" ], + workdir="/home/codespell/exchange/" + ) +) + +CODESPELL_FACTORY.addStep( + ShellCommand( + name="doxygen::exchange", + description="checking for doxygen mistakes in exchange", + descriptionDone="doxygen on exchange finished", + command=["/home/codespell/deployment/buildbot/doxygen.sh", "taler.doxy" ], + workdir="/home/codespell/exchange/doc/doxygen" + ) +) + +CODESPELL_FACTORY.addStep( + ShellCommand( + name="tag", + description="copying tag file to merchant", + descriptionDone="tag file copied", + command=["cp", "taler-exchange.tag", "/home/codespell/merchant/doc/doxygen/taler-exchange.tag], + workdir="/home/codespell/exchange/doc/doxygen" + ) +) + +CODESPELL_FACTORY.addStep( + ShellCommand( + name="doxygen::merchant", + description="checking for doxygen mistakes in merchant", + descriptionDone="doxygen on merchant finished", + command=["/home/codespell/deployment/buildbot/doxygen.sh", "taler.doxy" ], + workdir="/home/codespell/merchant/doc/doxygen" + ) +) + + + + + LCOV_FACTORY = create_factory_with_deployment() LCOV_FACTORY.addStep(git_step("git://git.taler.net/wallet-core.git")) LCOV_FACTORY.addStep(