about summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration/buildbot
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2024-01-15 16:23:43 +0100
committerJörg Thalheim <joerg@thalheim.io>2024-01-22 12:54:42 +0100
commit372513f630ee8ecdc8e91ecb9e35c42f739fb773 (patch)
treeed54a1dd608b7d431c645592ed1b068b25eb6958 /nixos/modules/services/continuous-integration/buildbot
parent3e39969a5334ba7298bcf2908509a8c7bb439586 (diff)
downloadnixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.tar
nixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.tar.gz
nixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.tar.bz2
nixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.tar.lz
nixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.tar.xz
nixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.tar.zst
nixlib-372513f630ee8ecdc8e91ecb9e35c42f739fb773.zip
nixos/buildbot: don't require network-online.target
The daemon setup itself only requires the firewall to be up.
Workers will connect itself as they can reach the master instance.
That's why we don't need an online target for buildbot to function.
Diffstat (limited to 'nixos/modules/services/continuous-integration/buildbot')
-rw-r--r--nixos/modules/services/continuous-integration/buildbot/master.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/continuous-integration/buildbot/master.nix b/nixos/modules/services/continuous-integration/buildbot/master.nix
index c86cb81e5df4..9f702b17937c 100644
--- a/nixos/modules/services/continuous-integration/buildbot/master.nix
+++ b/nixos/modules/services/continuous-integration/buildbot/master.nix
@@ -267,8 +267,7 @@ in {
 
     systemd.services.buildbot-master = {
       description = "Buildbot Continuous Integration Server.";
-      after = [ "network-online.target" ];
-      wants = [ "network-online.target" ];
+      after = [ "network.target" ];
       wantedBy = [ "multi-user.target" ];
       path = cfg.packages ++ cfg.pythonPackages python.pkgs;
       environment.PYTHONPATH = "${python.withPackages (self: cfg.pythonPackages self ++ [ package ])}/${python.sitePackages}";