taler-deployment

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

commit d5c7b458430113e7abefaf93f430a0d58ebdb09e
parent ec8a77e2d2d1d5d640b20c66c9f0d17a32b62871
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 22 Jul 2020 22:50:35 +0200

add codespell worker (#6180)"

Diffstat:
Mbuildbot/master.cfg | 48++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 46 insertions(+), 2 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -113,6 +113,11 @@ c["workers"] = [ # linkchecker worker checks for dead links in the Website # Location: /home/linkchecker @ taler.net worker.Worker("linkchecker-worker", "linkchecker-pass") + + ## + # codespell worker checks for spelling mistakes in code + # Location: /home/codespell @ taler.net + worker.Worker("codespell-worker", "codespell-pass") ] # 'protocols' contains information about protocols which master @@ -267,7 +272,7 @@ ALL_SCHEDULER = schedulers.SingleBranchScheduler( "blog|help|survey|landing)" ), treeStableTimer=None, - builderNames=["test-builder", "checker-builder"] + builderNames=["test-builder", "checker-builder", "codespell-builder"] ) # Consider adding other Python parts, like the various frontends. @@ -288,6 +293,7 @@ FORCE_SCHEDULER = schedulers.ForceScheduler( "buildslavetest-builder", "lcov-builder", "checker-builder", + "codespell-builder", "auditor-builder-test", "auditor-builder-demo", "test-builder", @@ -678,11 +684,42 @@ INTEGRATIONTEST_FACTORY.addStep( ) ) - # FIXME: INTEGRATIONTEST_FACTORY is incomplete at this time: we still need # to do the actual 'make check' steps (in a jail!) +CODESPELL_FACTORY = create_factory_with_deployment() +CODESPELL_FACTORY.addStep( + ShellCommand( + name="remove old binaries", + description="removing binaries from previous runs", + descriptionDone="Setup clean", + command=["rm", "-rf", "local"], + workdir="../.." + ) +) +CODESPELL_FACTORY.addStep( + ShellCommand( + name="fetch gnunet.org sources", + description="fetching latest deployment repositories from git.gnunet.org", + descriptionDone="GNUnet code base updated", + command=["./update-sources.sh", "git://git.gnunet.org/", "libmicrohttpd", "gnunet"], + workdir="../../deployment/buildbot" + ) +) +CODESPELL_FACTORY.addStep( + ShellCommand( + name="fetch taler.net sources", + description="fetching latest deployment repositories from git.taler.net", + descriptionDone="Taler code base updated", + command=["./update-sources.sh", "git://git.taler.net/", "exchange", "merchant", "wallet-core", "sync", "anastasis", "bank", "twister"], + workdir="../../deployment/buildbot" + ) +) +CODESPELL_FACTORY.addStep(git_step("git://git.taler.net/wallet-core.git")) + + + LCOV_FACTORY = create_factory_with_deployment() LCOV_FACTORY.addStep(git_step("git://git.taler.net/wallet-core.git")) LCOV_FACTORY.addStep( @@ -913,6 +950,12 @@ CHECKER_BUILDER = util.BuilderConfig( factory=INTEGRATIONTEST_FACTORY ) +CODESPELL_BUILDER = util.BuilderConfig( + name="codespell-builder", + workernames=["codespell-worker"], + factory=CODESPELL_FACTORY +) + AUDITOR_BUILDER_TEST = util.BuilderConfig( name="auditor-builder-test", workernames=["test-auditor-worker"], @@ -1099,6 +1142,7 @@ BUILDER_LIST = [ "doc-builder", "lcov-builder", "checker-builder", + "codespell-builder", "auditor-builder", "auditor-builder-test", "auditor-builder-demo",