pushgateway

This commit is contained in:
Luj 2023-07-16 16:08:20 +02:00
parent 791d21b7c4
commit 66a14cc332
Signed by: luj
GPG key ID: 6FC74C847011FD83
9 changed files with 32 additions and 738 deletions

View file

@ -129,7 +129,7 @@ in
pkgs.nix-output-monitor
];
environment.PYTHONPATH = "${python.withPackages (_: [package])}/${python.sitePackages}";
environment.MASTER_URL = ''tcp:host=localhost:port=9989'';
environment.MASTER_URL = ''tcp:host=127.0.0.1:port=9989'';
environment.BUILDBOT_DIR = buildbotDir;
environment.WORKER_PASSWORD_FILE = config.sops.secrets.buildbot-nix-worker-password.path;

View file

@ -269,7 +269,7 @@ def build_config() -> dict[str, Any]:
c["db"] = {"db_url": os.environ.get("DB_URL", "sqlite:///state.sqlite")}
c["protocols"] = {"pb": {"port": "tcp:9989:interface=\\:\\:"}}
c["protocols"] = {"pb": {"port": "tcp:9989:interface=127.0.0.1"}}
c["buildbotURL"] = BUILDBOT_URL
c["collapseRequests"] = False