summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Carpenter <devan@taler.net>2024-02-18 13:58:24 -0500
committerDevan Carpenter <devan@taler.net>2024-02-18 13:58:24 -0500
commit368780da0a697ebaca42dff3a04d786b3fdf1c72 (patch)
tree828fd47ff3d314f4dfcf0252034ad8b5e543cb63
parent0d6af55a68fec51c4a5b46b99c5a7427ca7560fb (diff)
downloaddeployment-368780da0a697ebaca42dff3a04d786b3fdf1c72.tar.gz
deployment-368780da0a697ebaca42dff3a04d786b3fdf1c72.tar.bz2
deployment-368780da0a697ebaca42dff3a04d786b3fdf1c72.zip
buildbot: cleanup dead builders
-rw-r--r--buildbot/master.cfg402
1 files changed, 0 insertions, 402 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index c8681de..4d493a6 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -295,147 +295,6 @@ SCHEDULERS.append(schedulers.SingleBranchScheduler(
))
-################ 2: DOCUMENTATION JOB ###################################
-
-##
-# This worker builds manuals / API docs / tutorials.
-# Location: /home/docbuilder @ taler.net
-WORKERS.append(Worker("doc-worker", "doc-pass"))
-
-
-DOC_FACTORY = create_factory_with_deployment()
-DOC_FACTORY.addStep(
- ShellCommand(
- name="fetch taler.net sources",
- description="fetching latest repositories from git.taler.net",
- descriptionDone="Taler code base updated",
- command=["./update-sources.sh", "git://git.taler.net/", "exchange", "merchant", "challenger"],
- workdir="../../deployment/buildbot",
- haltOnFailure=True,
- )
-)
-
-# OTHER STUFF, IN THE SAME WORKER ...
-
-DOC_FACTORY.addStep(
- steps.ShellSequence(
- name="prepare exchange",
- description="Running bootstrap and configure for exchange",
- descriptionDone="exchange ready for doxygen",
- commands=[
- util.ShellArg(command=["./bootstrap"], logname='bootstrap'),
- util.ShellArg(command=["./configure", "--enable-only-doc"], logname='configure'),
- ],
- workdir="../../sources/exchange/",
- env={'PATH': "${HOME}/.local/bin:${PATH}"},
- haltOnFailure=True,
- )
-)
-DOC_FACTORY.addStep(
- ShellCommand(
- name="doxygen::exchange",
- description="building exchange doxygen documentation",
- descriptionDone="doxygen on exchange finished",
- command=["make", "full" ],
- want_stderr=False,
- workdir="../../sources/exchange/doc/doxygen",
- haltOnFailure=True,
- )
-)
-DOC_FACTORY.addStep(
- steps.ShellSequence(
- name="prepare merchant",
- description="prepare merchant",
- descriptionDone="merchant prepared",
- commands=[
- util.ShellArg(command=["./bootstrap"], logname='bootstrap'),
- util.ShellArg(command=["./configure", "--enable-only-doc"], logname='configure'),
- util.ShellArg(command=["cp", "../exchange/doc/doxygen/taler-exchange.tag", "doc/doxygen/taler-exchange.tag"]),
- ],
- workdir="../../sources/merchant/"
- )
-)
-DOC_FACTORY.addStep(
- ShellCommand(
- name="doxygen::merchant",
- description="building merchant doxygen documentation",
- descriptionDone="doxygen on merchant finished",
- command=["make", "full" ],
- want_stderr=False,
- workdir="../../sources/merchant/doc/doxygen"
- )
-)
-## Disabled wallet doxygen job temporarily, until buildbot config refactored
-# DOC_FACTORY.addStep(
-# steps.ShellSequence(
-# name="doxygen::wallet",
-# description="building wallet typescript documentation",
-# descriptionDone="typedoc on taler-wallet-core finished",
-# commands=[
-# util.ShellArg(command=["./bootstrap"], logname="bootstrap"),
-# util.ShellArg(command=["./configure"], logname="configure"),
-# util.ShellArg(command=["make"], logname="make"),
-# util.ShellArg(command=["pnpm", "install", "-W", "typedoc"], logname="pnpm"),
-# util.ShellArg(command=["./node_modules/typedoc/bin/typedoc", "--out", "dist/typedoc", "--tsconfig", "tsconfig.build.json", "packages/taler-util/src/index.ts", "packages/taler-wallet-cli/src/index.ts", "packages/taler-wallet-android/src/index.ts", "packages/taler-wallet-core/src/index.ts" ], logname="typedoc"),
-# ],
-# workdir="../../sources/wallet-core/"
-# )
-# )
-DOC_FACTORY.addStep(
- steps.ShellSequence(
- name="prepare challenger",
- description="Running bootstrap and configure for challenger",
- descriptionDone="challenger ready for doxygen",
- commands=[
- util.ShellArg(command=["./bootstrap"], logname='bootstrap'),
- util.ShellArg(command=["./configure", "--enable-only-doc"], logname='configure'),
- ],
- workdir="../../sources/challenger/",
- env={'PATH': "${HOME}/.local/bin:${PATH}"},
- haltOnFailure=True,
- )
-)
-DOC_FACTORY.addStep(
- ShellCommand(
- name="doxygen::challenger",
- description="building challenger doxygen documentation",
- descriptionDone="doxygen on challenger finished",
- command=["make", "full" ],
- want_stderr=False,
- workdir="../../sources/challenger/doc/doxygen",
- haltOnFailure=True,
- )
-)
-
-
-BUILDERS.append(util.BuilderConfig(
- name="doc-builder", workernames=["doc-worker"], factory=DOC_FACTORY
-))
-
-#EMAIL_ALERTS.append("doc-builder")
-
-# Problems with this after upgrading to Debian Bookworm
-#sphinxErrorNotifier = reporters.MailNotifier(
-# fromaddr="bb@taler.net",
-# sendToInterestedUsers=False,
-# addLogs=['build docs.stdio',],
-# useTls=True,
-# # notify if sphinx exits with error (command line option in Makefile turns warnings into exit 1)
-# mode=('failing'),
-# builders=['doc-builder',],
-# extraRecipients=['sphinxerrors@taler.net']
-#)
-
-
-# Docs run if master or stable branch of 'docs' (or deployment) changed.
-SCHEDULERS.append(schedulers.SingleBranchScheduler(
- name="periodic-doc-scheduler",
- builderNames=["doc-builder"],
- change_filter=util.ChangeFilter(
- branch_re="(master|stable)", project="deployment"
- ),
- treeStableTimer=None,
-))
################ 3: WEBSITE JOB ###################################
@@ -491,145 +350,6 @@ SCHEDULERS.append(schedulers.SingleBranchScheduler(
))
-################ 5: UNIT TEST JOB ###################################
-
-##
-# This worker builds everything and runs our 'make check'
-# test suite against 'everything'.
-WORKERS.append(Worker("checker-worker", "checker-pass"))
-
-INTEGRATIONTEST_FACTORY = create_factory_with_deployment()
-INTEGRATIONTEST_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",
- haltOnFailure=True,
- )
-)
-INTEGRATIONTEST_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", "bank", "twister"],
- workdir="../../deployment/buildbot",
- haltOnFailure=True,
- )
-)
-INTEGRATIONTEST_FACTORY.addStep(git_step("git://git.taler.net/wallet-core.git"))
-INTEGRATIONTEST_FACTORY.addStep(
- ShellCommand(
- name="fetch",
- description="Running yarn install of wallet",
- descriptionDone="Correctly installed",
- command=["npm", "install", "-g", "--prefix", "$HOME", "@gnu-taler/taler-wallet-cli"],
- workdir="../../sources/wallet-core",
- haltOnFailure=True,
- )
-)
-INTEGRATIONTEST_FACTORY.addStep(
- steps.ShellSequence(
- name="fetch",
- description="Running local install of wallet",
- descriptionDone="local wallet install done",
- commands=[
- util.ShellArg(command=["./bootstrap"]),
- util.ShellArg(command=["./configure", "--prefix=$HOME/local/"]),
- util.ShellArg(command=["make install"]),
- ],
- workdir="../../sources/wallet-core",
- haltOnFailure=True,
- )
-)
-INTEGRATIONTEST_FACTORY.addStep(
- ShellCommand(
- name="build",
- description="Building other Taler components",
- descriptionDone="Taler built",
- command=["./build.sh"],
- workdir="../../deployment/buildbot",
- haltOnFailure=False
- )
-)
-INTEGRATIONTEST_FACTORY.addStep(jailed_check("libmicrohttpd", [
- "microhttpd",
- "testcurl",
- "testzzuf",
-]))
-INTEGRATIONTEST_FACTORY.addStep(jailed_check("gnunet", [
- "util",
- "pq",
- "curl",
- "json",
-]))
-INTEGRATIONTEST_FACTORY.addStep(jailed_check("twister", [
- "test",
-]))
-INTEGRATIONTEST_FACTORY.addStep(jailed_check("exchange", [
- "util",
- "curl",
- "mhd",
- "pq",
- "json",
- "bank-lib",
- "exchangedb",
- "auditordb",
- "exchange",
- "auditor",
- "lib",
- "exchange-tools",
- "testing",
- "benchmark",
-]))
-INTEGRATIONTEST_FACTORY.addStep(jailed_check("merchant", [
- "mustach",
- "backenddb",
- "backend",
- "lib",
- "testing",
- "merchant-tools",
-]))
-INTEGRATIONTEST_FACTORY.addStep(jailed_check("sync", [
- "util",
- "syncdb",
- "sync",
- "lib"
-]))
-INTEGRATIONTEST_FACTORY.addStep(
- ShellCommand(
- name="bank check",
- description="Testing Taler Python bank",
- descriptionDone="Done",
- command=["sudo", "/usr/local/bin/netjail.sh", "/home/integrationtest/deployment/buildbot/with-postgres.sh", "make", "check"],
- workdir="../../sources/bank",
- haltOnFailure=False,
- env={'PYTHONUSERBASE': "$HOME/local" }
- )
-)
-INTEGRATIONTEST_FACTORY.addStep(
- ShellCommand(
- name="wallet check",
- description="Testing wallet-core",
- descriptionDone="Done",
- command=["make", "check"],
- workdir="../../sources/wallet-core",
- haltOnFailure=False
- )
-)
-
-BUILDERS.append(util.BuilderConfig(
- name="checker-builder",
- workernames=["checker-worker"],
- factory=INTEGRATIONTEST_FACTORY
-))
-
-#EMAIL_ALERTS.append("checker-builder")
-CODECHANGE_TRIGGERS.append("checker-builder")
-
-
################ 9: 'check links' JOB ###################################
##
@@ -689,128 +409,6 @@ SERVICES.append(reporters.MailNotifier(
NIGHTLY_TRIGGERS.append("linkchecker-builder")
-################ 12: 'demo health wallet-cli check' JOB ###################################
-
-
-##
-# health checks performed by wallet-cli for demo
-WORKERS.append(Worker("taler-demo-healthcheck", "taler-demo-healthcheck-pass"))
-
-TALER_DEMO_HEALTHCHECK_FACTORY = create_factory_with_deployment()
-# For the moment, the health-check uses whatever wallet
-# was (possibly manually) installed beforehand. This is
-# not necessarily a problem, since demo-deployments do never
-# update code automatically.
-TALER_DEMO_HEALTHCHECK_FACTORY.addStep(
- ShellCommand(
- name="test-withdraw-and-spend",
- description="Running wallet spend tests",
- descriptionDone="Test correctly run",
- workdir="../../deployment/buildbot",
- command=["./demo-healthchecks.sh"],
- )
-)
-BUILDERS.append(util.BuilderConfig(
- name="taler-demo-healthcheck-builder",
- workernames=["taler-demo-healthcheck"],
- factory=TALER_DEMO_HEALTHCHECK_FACTORY
-))
-
-################ 13: 'test health wallet-cli check' JOB ###################################
-
-##
-# health checks performed by wallet-cli for test
-WORKERS.append(Worker("taler-test-healthcheck", "taler-test-healthcheck-pass"))
-
-TALER_TEST_HEALTHCHECK_FACTORY = create_factory_with_deployment()
-TALER_TEST_HEALTHCHECK_FACTORY.addStep(git_step("git://git.taler.net/wallet-core.git"))
-TALER_TEST_HEALTHCHECK_FACTORY.addStep(
- ShellCommand(
- name="fetch",
- description="Running yarn install",
- descriptionDone="Correctly installed",
- command=["npm", "install", "-g", "--prefix", "$HOME", "@gnu-taler/taler-wallet-cli"],
- workdir="build/"
- )
-)
-TALER_TEST_HEALTHCHECK_FACTORY.addStep(
- ShellCommand(
- name="test-withdraw",
- description="Running wallet withdraw tests",
- descriptionDone="Test correctly run",
- command=["timeout", "--preserve-status", "5m", "./$HOME/bin/taler-wallet-cli", "integrationtest", "--verbose", "-b", "https://bank.test.taler.net", "-w", "TESTKUDOS:10"],
- workdir="build/",
- )
-)
-TALER_TEST_HEALTHCHECK_FACTORY.addStep(
- ShellCommand(
- name="test-spend",
- description="Running wallet spend tests",
- descriptionDone="Test correctly run",
- command=["timeout", "--preserve-status", "5m", "./$HOME/bin/taler-wallet-cli", "integrationtest", "--verbose", "-b", "https://bank.test.taler.net", "-s", "TESTKUDOS:4"],
- workdir="build/",
- )
-)
-BUILDERS.append(util.BuilderConfig(
- name="taler-test-healthcheck-builder",
- workernames=["taler-test-healthcheck"],
- factory=TALER_TEST_HEALTHCHECK_FACTORY
-))
-
-
-WALLETCHANGE_TRIGGERS.append("taler-test-healthcheck-builder")
-
-
-################ 17: 'COMPILE AND CHECK - TALER ' JOB ###################################
-
-##
-# This worker compiles and checks all the Taler code
-# URL: https://git.taler.net/deployment.git/tree/docker/compile-and-check
-# 01/18/2022 - Added by Javier Sepulveda
-
-WORKERS.append(Worker("compilecheck-worker", "compilecheck-pass"))
-
-
-# check-and-compile FACTORY - Step 1 - Build docker image
-
-CHECK_AND_COMPILE_FACTORY = create_factory_with_deployment()
-CHECK_AND_COMPILE_FACTORY.addStep(
- ShellCommand(
- name="Build",
- description="Build docker image",
- descriptionDone="Build Docker image: DONE",
- command=["./build.sh"],
- workdir="/home/demo/deployment/docker/compile-and-check"
- )
-)
-
-
-# check-and-compile FACTORY - Step 2 - Run the docker image
-
-CHECK_AND_COMPILE_FACTORY.addStep(
- ShellCommand(
- name="Run",
- description="Compile content & Run docker image",
- descriptionDone="Run docker image : DONE",
- command=["./run.sh"],
- workdir="/home/demo/deployment/docker/compile-and-check"
- )
-)
-
-# BUILDER check-and-compile
-
-
-BUILDERS.append(util.BuilderConfig(
- name="compilecheck-builder",
- workernames=["compilecheck-worker"],
- factory=CHECK_AND_COMPILE_FACTORY
-))
-
-# Add email notification
-
-#EMAIL_ALERTS.append("compilecheck-builder")
-
-
#############################################
# 19: CONTAINER FACTORY #####################
#############################################