summaryrefslogtreecommitdiffstats
path: root/hosts
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 /hosts
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 'hosts')
-rw-r--r--hosts/jenkins/etc/systemd/system/reproducible_build@service12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/systemd/system/reproducible_build@service b/hosts/jenkins/etc/systemd/system/reproducible_build@service
new file mode 100644
index 00000000..dc465f75
--- /dev/null
+++ b/hosts/jenkins/etc/systemd/system/reproducible_build@service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Build service for reproducible-builds jobs
+
+[Service]
+# Restart whenever the script exits, without rate limiting:
+Restart=always
+StartLimitInterval=0
+
+ExecStart=/srv/jenkins/bin/reproducible_build_service.sh %I
+
+[Install]
+WantedBy=multi-user.target