From 3a735111fef618197e6bb44f7f4f9ac3a398d395 Mon Sep 17 00:00:00 2001 From: Erik Mackdanz Date: Thu, 14 Aug 2025 13:42:29 +0000 Subject: [PATCH] Add first nspawn worker --- master.cfg | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/master.cfg b/master.cfg index f99890e..e16f2ae 100644 --- a/master.cfg +++ b/master.cfg @@ -80,12 +80,28 @@ c = BuildmasterConfig = { )], 'title': "Humopery CI", 'titleURL': "https://bb.humopery.space/", - 'workers': [worker.Worker( - "carbon-worker", - Secret("worker-carbon.pass"), - notify_on_missing=["erik@humopery.space","erikmack@gmail.com"], - missing_timeout=300 - )], + 'workers': [ + worker.Worker( + "carbon-worker", + Secret("worker-carbon.pass"), + notify_on_missing=["erik@humopery.space","erikmack@gmail.com"], + missing_timeout=300, + properties={'os':util.Interpolate('%(worker:os_id)s'), + 'os_pretty':util.Interpolate('%(worker:os_pretty_name)s'), + 'exec_env':'hardware', + }, + ), + worker.Worker( + "carb-ns-1", + Secret("worker-carb-ns-1.pass"), + notify_on_missing=["erik@humopery.space","erikmack@gmail.com"], + missing_timeout=300, + properties={'os':util.Interpolate('%(worker:os_id)s'), + 'os_pretty':util.Interpolate('%(worker:os_pretty_name)s'), + 'exec_env':'container', + }, + ), + ], 'www': { 'auth': util.RemoteUserAuth( # override default which requires an email address with @ -- 2.52.0