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 33 imports = [
44 ./packages-ci-matrix.nix
55 ./pre-commit.nix
6+ ./vm-tests.nix
67 ] ;
78}
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 1919 flake . nixosConfigurations = (
2020 lib . mergeAttrsList ( lib . map ( x : mkMachine x ) ( builtins . attrNames ( builtins . readDir ./modules ) ) )
2121 ) ;
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+ ) ;
2229}
Original file line number Diff line number Diff line change 1010 path = with pkgs ; [
1111 ] ;
1212 serviceConfig = {
13- Type = "oneshot " ;
13+ Type = "simple " ;
1414 Restart = "on-failure" ;
1515 RestartSec = "10s" ;
1616
Original file line number Diff line number Diff line change 1919 db-port = 5432 ;
2020 db-host = "127.0.0.1" ;
2121 db-user = "postgres" ;
22- db-password = ../blankpass.txt ;
22+ db-password = "" ;
2323 provider-json-rpc-max-batch-size = 100 ;
2424 provider-concurrent-requests = 5 ;
2525 provider-batch-aggregation-wait-ms = 10 ;
Original file line number Diff line number Diff line change 88 enable = true ;
99 args = {
1010 messages-location = config . services . lido-withdrawals-automation . args . output-folder ;
11+ consensus-node = "" ;
12+ execution-node = "" ;
13+ locator-address = "" ;
1114 blocks-preload = 100000 ;
1215 http-port = 8989 ;
1316 run-metrics = true ;
Original file line number Diff line number Diff line change 77 services . lido-withdrawals-automation = {
88 enable = true ;
99 args = {
10+ operator-id = "" ;
1011 password = "" ;
1112 percentage = 10 ;
1213 output-folder = "/ethereum/lido/withdrawal-automation" ;
You can’t perform that action at this time.
0 commit comments