Skip to content
Snippets Groups Projects
Commit 619b476e authored by Holger Levsen's avatar Holger Levsen
Browse files

arm64.reproduce.debian.net: configure secret for workers correctly

parent 2da411c8
No related branches found
No related tags found
No related merge requests found
......@@ -22,12 +22,12 @@ bind_addr = "127.0.0.1:8486"
#cookie = "INSECURE"
## IMPORTANT: in production, make sure either `authorized_workers` or `signup_secret` is configured.
#[worker]
[worker]
## If we have a fixed set of workers we can allow-list the keys here.
#authorized_workers = ["key1", "key2"]
## If we want to spawn new workers dynamically we can configure a sign up secret below.
## Use `pwgen -1s 32` to generate one.
#signup_secret = "INSECURE"
signup_secret = "INSECURE"
#[schedule]
## Configure the delay to automatically retry failed rebuilds in hours. The
......
......@@ -141,5 +141,8 @@ while true ; do env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie
cd ; mkdir -p arm64 ; cd adm64 ; /opt/usr/bin/rebuilderd -c /opt/etc/rebuilderd-arm64.conf
while true ; do env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:8486 pkgs sync-profile --sync-config /opt/etc/rebuilderd-sync-arm64.conf debian-main --print-json | jq '.[] | select(.architecture != "all")' | jq -s | env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:8486 pkgs sync-stdin debian main ; echo sleeping 3h now ; sleep 3h ; done
with rebuilderd-worker from trixie:
rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
</body>
</html>
......@@ -554,6 +554,7 @@ if [ -f /etc/debian_version ] ; then
infom07*|infom08*|codethink02*) DEBS="$DEBS
diffoscope
python3-rpy2
rebuilderd-worker
" ;;
*) ;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment