Add an option to run the hydra server in debug mode

[?]
Jul 28, 2013, 3:11 PM
BT6SNXUAM2ZSGD7DAHJWZJVCWKLLAKAGFHDFCUKMIFG2AG3D65DQC

Dependencies

  • [2] KMPLMG7T hydra-module.nix: Cleanup
  • [3] X6XVDE2C hydra-module: Set GIT_SSL_CAINFO for git over https
  • [4] D3MDJONY
  • [5] ASPNI2AO hydra-module.nix: Automatically create postgres db user for hydra and an admin hydra account
  • [6] ZYEFL36Q Ported/merged properties from the TUD configuration's hydra-module
  • [7] T4DBPQOF hydra-module: Run hydra-init during hydra-init.service

Change contents

  • replacement in hydra-module.nix at line 31
    [3.395][3.395:402]()
    };
    [3.395]
    [3.498]
    } // (optionalAttrs cfg.debugMode { DBIC_TRACE = 1; });
  • edit in hydra-module.nix at line 113
    [3.615]
    [3.615]
    };
    debugServer = mkOption {
    default = false;
    type = types.bool;
    description = "Whether to run the server in debug mode";
  • replacement in hydra-module.nix at line 198
    [3.1186][3.1186:1324]()
    { ExecStart = "@${cfg.hydra}/bin/hydra-server hydra-server -f -h \* --max_spare_servers 5 --max_servers 25 --max_requests 100";
    [3.1186]
    [2.330]
    { ExecStart = "@${cfg.hydra}/bin/hydra-server hydra-server -f -h \* --max_spare_servers 5 --max_servers 25 --max_requests 100${optionalString cfg.debugServer " -d"}";