Commit 1541900e authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: add first stub to move those 166 build jobs from jenkins...


reproducible Debian: add first stub to move those 166 build jobs from jenkins to systemd as scheduler

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 68910bdb
#!/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
[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment