summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-14 19:53:21 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-14 19:53:21 +0200
commit1541900e2987edf38b8453337e13019c1c4845ae (patch)
tree01bcae20285806d7465e2c9266771274b419da4a /bin
parent68910bdb3a6cf81d35011c8501c3e3539d21a2ea (diff)
downloadjenkins.debian.net-1541900e2987edf38b8453337e13019c1c4845ae.tar.xz
reproducible Debian: add first stub to move those 166 build jobs from jenkins to systemd as scheduler
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_service.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
new file mode 100755
index 00000000..96046998
--- /dev/null
+++ b/bin/reproducible_build_service.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Copyright © 2017 Holger Levsen (holger@layer-acht.org)
+
+#
+echo $0
+echo $1
+export
+
+echo sleeping 5min now
+sleep 5m
+
+#script translates "arm64 builder12" to "arm64 builder12 sled3 sled 4"
+# < h01ger> | but then its really simple: have a script, jenkins_build_cron_runner.sh or such, and start this with 4 params, eg, arm64, builder_12, codethink_sled11, codethink_sled14. the cron_runner script simple needs to set some variables like jenkins would do, redirect output
+# to a directory which is accessable to the webserver and run reproducible_build.sh. voila.
+# < h01ger> | we could still make the logs accessable to browsers
+# < h01ger> | and we need maintenance to cleanup the log files eventually
+# < h01ger> | and translate that yaml to crontab entries
+