[Git][qa/jenkins.debian.net][master] r.d.n: configure workers for ppc64el

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Apr 11 20:10:41 BST 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
7737f2d8 by Holger Levsen at 2025-04-11T21:10:28+02:00
r.d.n: configure workers for ppc64el

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- + hosts/common-ppc64el/opt/etc/rebuilderd-worker.conf
- + hosts/common-ppc64el/opt/usr/libexec/rebuilderd/rebuilder-debian.sh


Changes:

=====================================
hosts/common-ppc64el/opt/etc/rebuilderd-worker.conf
=====================================
@@ -0,0 +1,27 @@
+## The rebuilderd to connect to
+endpoint = "https://reproduce.debian.net/ppc64el"
+## The server would either allowlist our key or require a signup secret
+signup_secret = "INSECURE"
+
+[build]
+#timeout = 86400 # 24 hours
+## Set a maximum build log limit in bytes (default: none).
+## When reaching this limit the log is truncated but the rebuilder backend is *not* terminated.
+max_bytes = 20971520 # 20 MiB ## 10 MiB is upstream default
+## By default build output is forwarded to stdout/stderr.
+## This can be disabled by settings this to true.
+#silent = true
+
+[diffoscope]
+## Generate and attach diffs with diffoscope when rebuilding
+enabled = true
+## Pass additional arguments to diffoscope. Use wisely, some options might not work well.
+#args = ["--max-container-depth", "2", "--fuzzy-threshold", "0"]
+## Set a timeout in seconds after which diffoscope is terminated (default: 3600)
+timeout = 600 # 10 minutes
+## Set a maximum diffoscope output limit in bytes (default: none).
+## When reaching this limit, diffoscope is terminated and the output is truncated.
+max_bytes = 10485760 # 10 MiB
+
+[backend."debian"]
+path = "/opt/usr/libexec/rebuilderd/rebuilder-debian.sh"


=====================================
hosts/common-ppc64el/opt/usr/libexec/rebuilderd/rebuilder-debian.sh
=====================================
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+set -e
+
+cat <<-EOF
+===============================================================================
+
+About this build: this rebuild has been done as part of reproduce.debian.net
+where we aim to reproduce Debian binary packages distributed via ftp.debian.org,
+by rebuilding using the exact same packages as the original build on the buildds,
+as described in the relevant .buildinfo file from buildinfos.debian.net.
+
+For more information please go to https://reproduce.debian.net or join
+#debian-reproducible on irc.debian.org
+
+===============================================================================
+
+EOF
+
+cd "$(dirname "$1")"
+mkdir -p etc/apt
+mkdir -p var/lib/apt/lists/
+export TMPDIR=/srv/rebuilderd/tmp ; mkdir -p $TMPDIR ; chmod 777 $TMPDIR
+echo 'deb-src [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://deb.debian.org/debian trixie main' > etc/apt/sources.list
+apt-get -o Dir=. update -q
+apt-get -o Dir=. source -qq --print-uris "$(basename "$1" | cut -d_ -f1)"
+apt-get -o Dir=. source -qq --download-only "$(basename "$1" | cut -d_ -f1)"
+dcmd sha256sum *.dsc
+
+echo "+------------------------------------------------------------------------------+"
+echo "| Calling debrebuild                           $(date -u -R) |"
+echo "+------------------------------------------------------------------------------+"
+echo
+echo Rebuilding $(basename "$1") in $(pwd) now.
+set -x
+nice /usr/bin/debrebuild --buildresult="${REBUILDERD_OUTDIR}" --builder=sbuild+unshare --cache=/srv/rebuilderd/cache -- "${1}"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7737f2d89900efb75e9c81abfa6b74dc833a8837

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7737f2d89900efb75e9c81abfa6b74dc833a8837
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250411/6da83aaa/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list