taler-deployment

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

commit 56613351c298a75c50db03175de533fc4aa22a74
parent b0df7c9d9d7b4380372d361312e974e2b381bcb9
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 10 Jun 2019 01:05:41 +0200

remove "git steps"

Diffstat:
Mbuildbot/master.cfg | 35+++++++++--------------------------
1 file changed, 9 insertions(+), 26 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -336,58 +336,49 @@ 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="Python linter", description="linting Python", descriptionDone="linting done", command=util.Transform(lint_dispatcher, util.Property("project")), - workdir="build/taler-build")) + workdir="../../deployment/taler-build")) LCOV_FACTORY = util.BuildFactory() -LCOV_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) LCOV_FACTORY.addStep(ShellCommand( haltOnFailure=True, name="invalidation", description="Invalidating timestamps", descriptionDone="timestamps invalidated", command=["./invalidate.sh"], - workdir="build/taler-build", + workdir="../../deployment/taler-build", env={"TALER_ENV_NAME": "not-test"})) # work-around 'set -eu' LCOV_FACTORY.addStep(ShellCommand( name="build", description="Compiling..", descriptionDone="lcov files generated", command=["make", "lcov"], - workdir="build/taler-build", + workdir="../../deployment/taler-build", env={"PATH": "${HOME}/local/bin:${PATH}", "TALER_CHECKDB": "postgres:///talercheck-${USER}"})) - # FIXME: 'demo' reports generator missing. AUDITOR_FACTORY = util.BuildFactory() -AUDITOR_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) AUDITOR_FACTORY.addStep(ShellCommand( name="Auditor reports generator", description="Generating auditor reports.", descriptionDone="Auditor reports correctly generated.", command=["./make_auditor_reports.sh"], - workdir="build/buildbot")) + workdir="../../deployment/buildbot")) TIP_RESERVE_TOPPER_FACTORY = util.BuildFactory() -TIP_RESERVE_TOPPER_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) TIP_RESERVE_TOPPER_FACTORY.addStep(ShellCommand( name="tip reserve topper", description="Topping the tip reserve.", descriptionDone="Tip reserve has been topped.", command=["./top_reserve.sh"], - workdir="build/buildbot")) + workdir="../../deployment/buildbot")) BUILD_FACTORY = util.BuildFactory() BUILD_FACTORY.addStep(ShellCommand( @@ -443,14 +434,12 @@ BUILD_FACTORY.addStep(ShellCommand( env={'DEPLOYMENT': "test"})) TESTSWITCH_FACTORY = util.BuildFactory() -TESTSWITCH_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) TESTSWITCH_FACTORY.addStep(ShellCommand( name="switch active party", description="Switch to the party which was inactive.", descriptionDone="Active party has been switched.", command=["./switch.sh"], - workdir="build/buildbot")) + workdir="../../deployment/buildbot")) SELENIUM_FACTORY = util.BuildFactory() SELENIUM_FACTORY.addStep(ShellCommand( @@ -461,36 +450,30 @@ SELENIUM_FACTORY.addStep(ShellCommand( env={'PATH': "${HOME}/local/bin:/usr/lib/chromium:${PATH}"})) DOC_FACTORY = util.BuildFactory() -DOC_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) DOC_FACTORY.addStep(ShellCommand( name="build docs", description="Building documentation", descriptionDone="Documentation built.", command=["./build-docs.sh"], - workdir="build/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True)) SITES_FACTORY = util.BuildFactory() -SITES_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) SITES_FACTORY.addStep(ShellCommand( name="build Web sites", description="Building all the Taler homepages", descriptionDone="Sites built.", command=["./build-sites.sh"], - workdir="build/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True)) DEMO_SERVICES_CHECKER_FACTORY = util.BuildFactory() -DEMO_SERVICES_CHECKER_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) DEMO_SERVICES_CHECKER_FACTORY.addStep(ShellCommand( name="demo services checker", description="Checking demo services are online", descriptionDone="Demo services are online!.", command=["./checks.sh"], - workdir="build/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True, # Needed to test the 'demo' deployment. env={"DEPLOYMENT": "demo"}))