ci: add stockholmSrc option
This commit is contained in:
parent
3addbef06b
commit
023bc5257a
|
@ -8,6 +8,10 @@ in
|
||||||
{
|
{
|
||||||
options.krebs.ci = {
|
options.krebs.ci = {
|
||||||
enable = mkEnableOption "krebs continous integration";
|
enable = mkEnableOption "krebs continous integration";
|
||||||
|
stockholmSrc = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "http://cgit.${hostname}.r/stockholm";
|
||||||
|
};
|
||||||
treeStableTimer = mkOption {
|
treeStableTimer = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
default = 10;
|
default = 10;
|
||||||
|
@ -58,7 +62,7 @@ in
|
||||||
testslave = "lasspass";
|
testslave = "lasspass";
|
||||||
};
|
};
|
||||||
change_source.stockholm = ''
|
change_source.stockholm = ''
|
||||||
stockholm_repo = 'http://cgit.${hostname}.r/stockholm'
|
stockholm_repo = '${cfg.stockholmSrc}'
|
||||||
cs.append(
|
cs.append(
|
||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
stockholm_repo,
|
stockholm_repo,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user