commit dec7d600a388f096adc289d3f2f1f9b13ab9fe3e
parent 01a1e689e2f7d6877ddd453e4a21169242d3e81c
Author: Javier Sepulveda <javier.sepulveda@uv.es>
Date: Wed, 18 Jan 2023 12:19:23 +0100
compilecheck-worker added to master.cfg
Diffstat:
1 file changed, 61 insertions(+), 0 deletions(-)
diff --git 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.