]> Humopery - private/buildbot-default.git/commitdiff
migrate to postgresql
authorErik Mackdanz <erikmack@gmail.com>
Fri, 1 Nov 2024 04:03:48 +0000 (04:03 +0000)
committerErik Mackdanz <erikmack@gmail.com>
Fri, 1 Nov 2024 04:03:48 +0000 (04:03 +0000)
'buildbot copy-db' failed so history restarts

master.cfg

index 719d57ffde99ac9734e4551489ce3c83d08fd62b..673a147120876b2c2bbcc2457c3cb57ae3fb8b74 100644 (file)
@@ -347,8 +347,6 @@ c['buildbotURL'] = "https://bb.humopery.space/"
 
 ####### WEB INTERFACE
 
-# c['www'] = dict(port=8010,
-#                 plugins=dict(waterfall_view={}, console_view={}, grid_view={}))
 c['www'] = {
     'auth': util.RemoteUserAuth(
         # override default which requires an email address with @
@@ -364,6 +362,7 @@ c['www'] = {
         ],
         stringsMatcher=util.fnmatchStrMatcher
     ),
+    'plugins': dict(waterfall_view={}, console_view={}, grid_view={}),
     'port' : 8010,
     'ws_ping_interval': 30
 }
@@ -371,5 +370,6 @@ c['www'] = {
 ####### DB URL
 
 c['db'] = {
-    'db_url' : "sqlite:///state.sqlite"
+    # 'db_url' : "sqlite:///state.sqlite"
+    'db_url' : util.Interpolate("postgresql://buildbot:%(secret:database.pass)s@127.0.0.1/buildbot")
 }