Compare commits
3 commits
816527d6e0
...
513e0a6ead
Author | SHA1 | Date | |
---|---|---|---|
513e0a6ead | |||
91c0e260f3 | |||
726e2928ad |
2 changed files with 17 additions and 4 deletions
|
@ -748,11 +748,11 @@
|
|||
"ofborg": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1731607448,
|
||||
"narHash": "sha256-Ia/Qn8kCe60pTOsRDbCPdUpkqkp3IyD+BZw11PQCWVk=",
|
||||
"lastModified": 1731621460,
|
||||
"narHash": "sha256-aqv8K7mhsRo8fUYzomYf0UzVsFK+ikONqInn9pkWhik=",
|
||||
"ref": "refs/heads/vcs-generalization",
|
||||
"rev": "705adbb8e4c215724b9a33ca3cdecf6db10107cc",
|
||||
"revCount": 1465,
|
||||
"rev": "c922e6e4557d08d7969c8fb0d4abb1f840dab2de",
|
||||
"revCount": 1470,
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/the-distro/ofborg.git"
|
||||
},
|
||||
|
|
|
@ -27,9 +27,12 @@ in {
|
|||
rabbitmq.enable = mkEnableOption "ofborg AMQP queue";
|
||||
builder.enable = mkEnableOption "ofborg builder worker";
|
||||
pastebin.enable = mkEnableOption "ofborg pastebin service";
|
||||
statcheck-worker.enable = mkEnableOption "ofborg status & checks worker";
|
||||
mass-rebuilder.enable = mkEnableOption "ofborg evaluator worker for mass rebuilds jobs";
|
||||
stats.enable = mkEnableOption "ofborg prometheus worker";
|
||||
|
||||
gerrit-events-streamer.enable = mkEnableOption "ofborg's Gerrit event streamer";
|
||||
|
||||
package = mkPackageOption pkgs "ofborg" { };
|
||||
|
||||
settings = mkOption {
|
||||
|
@ -73,6 +76,10 @@ in {
|
|||
db = "$STATE_DIRECTORY/db.json";
|
||||
};
|
||||
|
||||
statcheck = {
|
||||
db = "$STATE_DIRECTORY/db.sqlite";
|
||||
};
|
||||
|
||||
# We use Gerrit.
|
||||
vcs = "Gerrit";
|
||||
gerrit = {
|
||||
|
@ -107,6 +114,12 @@ in {
|
|||
(mkIf cfg.pastebin.enable {
|
||||
systemd.services.ofborg-pastebin = mkOfborgWorker "pastebin-worker" { };
|
||||
})
|
||||
(mkIf cfg.statcheck-worker.enable {
|
||||
systemd.services.ofborg-statcheck-worker = mkOfborgWorker "statcheck-worker" { };
|
||||
})
|
||||
(mkIf cfg.gerrit-events-streamer.enable {
|
||||
systemd.services.ofborg-gerrit-streamer = mkOfborgWorker "gerrit-events-streamer" { };
|
||||
})
|
||||
(mkIf cfg.mass-rebuilder.enable {
|
||||
systemd.services.ofborg-mass-rebuilder = mkOfborgWorker "mass-rebuilder" { };
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue