Skip to content

Commit 4868929

Browse files
committed
dev-workflow: setup url correctly
1 parent 9d34651 commit 4868929

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/master.cfg.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
STATE_DIR = Path(".")
1111
PORT = 8012
12+
url = f"http://localhost:{PORT}"
1213

1314
buildbot_nix_config = BuildbotNixConfig(
1415
db_url="sqlite:///state.sqlite",
@@ -27,13 +28,14 @@
2728
eval_worker_count=4,
2829
local_workers=4,
2930
domain="localhost",
30-
webhook_base_url=f"http://localhost:{PORT}",
31-
url=f"http://localhost:{PORT}",
31+
webhook_base_url=url,
32+
url=url,
3233
)
3334

3435
c = BuildmasterConfig = dict(
3536
title="Hello World CI",
3637
titleURL="https://buildbot.github.io/hello-world/",
38+
buildbotURL=url,
3739
configurators=[
3840
NixConfigurator(buildbot_nix_config),
3941
],

0 commit comments

Comments
 (0)