taler-deployment

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

commit ce2f823cca9bb9f8b709934b2539290d22cef73d
parent 0cffd6f6d260dc0f347fe5e358e3a128353e3107
Author: buckE <buckE@disroot.org>
Date:   Thu, 11 Jun 2020 06:13:56 +0000

master.cfg - added sandbox and removed "job" term re: imprecise

Diffstat:
Mbuildbot/master.cfg | 44+++++++++++++++++++++++++++++++-------------
1 file changed, 31 insertions(+), 13 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -103,8 +103,8 @@ c["workers"] = [ worker.Worker("taler-test-healthcheck", "taler-test-healthcheck-pass"), ## - # testing buildbot using the "weblatetest" user (for no specific reason except it exists) - worker.Worker("buildbot-weblatetest", "Gei8naiyox4uuhoo") + # testing buildbot using the "buildbot-sandbox" user (for no specific reason except it exists) + worker.Worker("buildbot-sandbox-worker", "Gei8naiyox4uuhoo") ] # 'protocols' contains information about protocols which master @@ -129,7 +129,16 @@ c["change_source"] = [ALLCS] # Configure the Schedulers, which decide how to react to incoming # changes. -# Jobs we run at 6am every day: coverage analysis and auditor. +# Run at 6am every day: coverage analysis and auditor. +TEST_SCHEDULER = schedulers.Nightly( + name="test-scheduler", + builderNames=["buildbot-sandbox-builder"], + #branch="master", + hour=8, + minute=0 +) + +# Run at 6am every day: coverage analysis and auditor. NIGHTLY_SCHEDULER = schedulers.Nightly( name="nightly-scheduler", builderNames=["lcov-builder", @@ -343,7 +352,7 @@ def create_factory_with_deployment(): update_deployment (f); return f -# Factory for a job to update the buildmaster itself. +# Factory to update the buildmaster itself. BUILDMASTER_FACTORY = create_factory_with_deployment() BUILDMASTER_FACTORY.addStep( ShellCommand( @@ -491,16 +500,16 @@ LINT_FACTORY.addStep( ) -# "buildbot-weblatestest" test buildbot slave is nothing to do with weblate, just a tests -# deleteme when test confirmed -BUILDBOT-WEBLATETEST_FACTORY = create_factory_with_deployment() -BUILDBOT-WEBLATETEST_FACTORY.addStep( +# "buildbot-sandbox" Factory for testing purposes +# NOTE: was buildbot-weblatetest, and .sh may still have that name +BUILDBOT-SANDBOX_FACTORY = create_factory_with_deployment() +BUILDBOT-SANDBOX_FACTORY.addStep( ShellCommand( - name="buildbot-weblatetest script (does nothing)", - description="just testing building a buildslave", - descriptionDone="buildbot-weblatetest job is done", - command=["./weblatetest.sh"], - workdir="/home/buildbot-master" + name="buildbot-sandbox script (for testing purposes)", + description="Buildbot Sandbox Worker", + descriptionDone="buildbot-sandbox: Done", + command=["./buildbot-sandbox.sh"], + workdir="/home/buildbot-sandbox/" ) ) @@ -812,6 +821,15 @@ DEMO_SERVICES_INTEGRATIONTEST_FACTORY.addStep( ) +##### BUILDERS DEFINED + +# Builder to oversee the buildbot-sandbox-worker worker and, I guess, the BUILDBOT-SANDBOX_FACTORY. Used for testing purposes. +BUILDBOT-SANDBOX_BUILDER = util.BuilderConfig( + name="buildbot-sandbox-builder", + workernames=["buildbot-sandbox-worker"], + factory=BUILDBOT-SANDBOX_FACTORY +) + # Builder to update the buildmaster itself. BUILDMASTER_BUILDER = util.BuilderConfig( name="buildmaster-builder",