diff options
author | Javier Sepulveda <javier.sepulveda@uv.es> | 2023-01-18 12:19:23 +0100 |
---|---|---|
committer | Javier Sepulveda <javier.sepulveda@uv.es> | 2023-01-18 12:19:23 +0100 |
commit | dec7d600a388f096adc289d3f2f1f9b13ab9fe3e (patch) | |
tree | a8dbb76bf4812c124921ca1a7e262381601207c5 | |
parent | 01a1e689e2f7d6877ddd453e4a21169242d3e81c (diff) | |
download | deployment-dec7d600a388f096adc289d3f2f1f9b13ab9fe3e.tar.gz deployment-dec7d600a388f096adc289d3f2f1f9b13ab9fe3e.tar.bz2 deployment-dec7d600a388f096adc289d3f2f1f9b13ab9fe3e.zip |
compilecheck-worker added to master.cfg
-rw-r--r-- | buildbot/master.cfg | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg index 204334c..d953dc6 100644 --- a/buildbot/master.cfg +++ b/buildbot/master.cfg @@ -1113,6 +1113,67 @@ SELENIUM_FACTORY.addStep( #)) +################ 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.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/buildbot-compile-and-check" + ) +) + + + +# 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/buildbot-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/buildbot-compile-and-check" + ) +) + +# BUILDER check-and-compile + + +BUILDERS.append(util.BuilderConfig( + name="compilecheck-builder", + workernames=["compilecheck-worker"], + factory=CHECK_AND_COMPILE_FACTORY +)) + + + ################ 99: debug stuff JOB ################################### # This does nothing, just a starting point for a factory. |