summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildbot/master.cfg61
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.