forked from Fediversity/Fediversity
restore path-based behavior for non-data-model tests
This commit is contained in:
parent
ee026c804d
commit
6e873c33d0
5 changed files with 10 additions and 21 deletions
|
@ -3,10 +3,7 @@
|
||||||
"hello"
|
"hello"
|
||||||
"cowsay"
|
"cowsay"
|
||||||
];
|
];
|
||||||
pathToRoot = builtins.path {
|
pathToRoot = ../../..;
|
||||||
path = ../../..;
|
pathFromRoot = ./.;
|
||||||
name = "root";
|
|
||||||
};
|
|
||||||
pathFromRoot = "/deployment/check/data-model-ssh";
|
|
||||||
useFlake = true;
|
useFlake = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,8 @@
|
||||||
"peertube"
|
"peertube"
|
||||||
"pixelfed"
|
"pixelfed"
|
||||||
];
|
];
|
||||||
pathToRoot = builtins.path {
|
pathToRoot = ../../..;
|
||||||
path = ../../..;
|
pathFromRoot = ./.;
|
||||||
name = "root";
|
|
||||||
};
|
|
||||||
pathFromRoot = "/deployment/check/data-model-ssh";
|
|
||||||
enableAcme = true;
|
enableAcme = true;
|
||||||
useFlake = true;
|
useFlake = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,10 +32,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
pathFromRoot = mkOption {
|
pathFromRoot = mkOption {
|
||||||
type = types.str;
|
type = types.either types.path types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Path from the root of the repository to the working directory.
|
Path from the root of the repository to the working directory.
|
||||||
'';
|
'';
|
||||||
|
apply = x: if lib.isString x then x else lib.path.removePrefix config.pathToRoot x;
|
||||||
};
|
};
|
||||||
|
|
||||||
pathToCwd = mkOption {
|
pathToCwd = mkOption {
|
||||||
|
|
|
@ -2,11 +2,8 @@
|
||||||
targetMachines = [
|
targetMachines = [
|
||||||
"nixops4"
|
"nixops4"
|
||||||
];
|
];
|
||||||
pathToRoot = builtins.path {
|
pathToRoot = ../../..;
|
||||||
path = ../../..;
|
pathFromRoot = ./.;
|
||||||
name = "root";
|
|
||||||
};
|
|
||||||
pathFromRoot = "/deployment/check/data-model-ssh";
|
|
||||||
enableAcme = true;
|
enableAcme = true;
|
||||||
useFlake = true;
|
useFlake = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,8 @@
|
||||||
"peertube"
|
"peertube"
|
||||||
"pixelfed"
|
"pixelfed"
|
||||||
];
|
];
|
||||||
pathToRoot = builtins.path {
|
pathToRoot = ../../..;
|
||||||
path = ../../..;
|
pathFromRoot = ./.;
|
||||||
name = "root";
|
|
||||||
};
|
|
||||||
pathFromRoot = "/deployment/check/data-model-ssh";
|
|
||||||
enableAcme = true;
|
enableAcme = true;
|
||||||
useFlake = true;
|
useFlake = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue