]> Humopery - private/buildbot-default.git/commitdiff
Add first nspawn worker
authorErik Mackdanz <erikmack@gmail.com>
Thu, 14 Aug 2025 13:42:29 +0000 (13:42 +0000)
committerErik Mackdanz <erikmack@gmail.com>
Thu, 14 Aug 2025 13:42:29 +0000 (13:42 +0000)
master.cfg

index f99890e72fcb2ce3302d7135dc1fd5dc4035fe3b..e16f2ae3910d3e8115f2ac9012d598eff31110e8 100644 (file)
@@ -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 @