File tree Expand file tree Collapse file tree 7 files changed +52
-2
lines changed Expand file tree Collapse file tree 7 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 3
3
imports = [
4
4
./packages-ci-matrix.nix
5
5
./pre-commit.nix
6
+ ./vm-tests.nix
6
7
] ;
7
8
}
Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ inputs ,
4
+ self ,
5
+ ...
6
+ } :
7
+ {
8
+ perSystem =
9
+ {
10
+ inputs' ,
11
+ self' ,
12
+ pkgs ,
13
+ ...
14
+ } :
15
+ {
16
+ checks = {
17
+ "healthcheck-test-01" = pkgs . testers . runNixOSTest {
18
+ name = "healthcheck-test-01" ;
19
+ nodes = {
20
+ machine =
21
+ { config , pkgs , ... } :
22
+ {
23
+
24
+ imports = [
25
+ self . modules . nixos . machine_healthcheck
26
+ ] ;
27
+
28
+ } ;
29
+ testScript =
30
+ { nodes , ... } :
31
+ ''
32
+ machine.wait_for_unit("default.target")
33
+ '' ;
34
+ } ;
35
+ } ;
36
+ } ;
37
+ } ;
38
+ }
Original file line number Diff line number Diff line change 19
19
flake . nixosConfigurations = (
20
20
lib . mergeAttrsList ( lib . map ( x : mkMachine x ) ( builtins . attrNames ( builtins . readDir ./modules ) ) )
21
21
) ;
22
+ flake . modules . nixos = (
23
+ lib . mergeAttrsList (
24
+ lib . map ( x : {
25
+ "machine_${ lib . removeSuffix ".nix" x } " = ( import ( ./modules + "/${ x } " ) ) ;
26
+ } ) ( builtins . attrNames ( builtins . readDir ./modules ) )
27
+ )
28
+ ) ;
22
29
}
Original file line number Diff line number Diff line change 10
10
path = with pkgs ; [
11
11
] ;
12
12
serviceConfig = {
13
- Type = "oneshot " ;
13
+ Type = "simple " ;
14
14
Restart = "on-failure" ;
15
15
RestartSec = "10s" ;
16
16
Original file line number Diff line number Diff line change 19
19
db-port = 5432 ;
20
20
db-host = "127.0.0.1" ;
21
21
db-user = "postgres" ;
22
- db-password = ../blankpass.txt ;
22
+ db-password = "" ;
23
23
provider-json-rpc-max-batch-size = 100 ;
24
24
provider-concurrent-requests = 5 ;
25
25
provider-batch-aggregation-wait-ms = 10 ;
Original file line number Diff line number Diff line change 8
8
enable = true ;
9
9
args = {
10
10
messages-location = config . services . lido-withdrawals-automation . args . output-folder ;
11
+ consensus-node = "" ;
12
+ execution-node = "" ;
13
+ locator-address = "" ;
11
14
blocks-preload = 100000 ;
12
15
http-port = 8989 ;
13
16
run-metrics = true ;
Original file line number Diff line number Diff line change 7
7
services . lido-withdrawals-automation = {
8
8
enable = true ;
9
9
args = {
10
+ operator-id = "" ;
10
11
password = "" ;
11
12
percentage = 10 ;
12
13
output-folder = "/ethereum/lido/withdrawal-automation" ;
You can’t perform that action at this time.
0 commit comments