checks/ascensions: use consul-ready

This commit is contained in:
Max Headroom 2024-07-17 23:23:04 +02:00
parent 4957c6f07f
commit c3073e347b
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ testers, nixosModules, consul }:
{ testers, nixosModules, consul, cluster }:
let
dataDir = {
@ -28,6 +28,7 @@ testers.runNixOSTest {
nixosModules.ascensions
nixosModules.systemd-extras
nixosModules.consul-distributed-services
cluster.config.services.consul.nixos.ready
];
systemd.services = {
create-file = {

View file

@ -12,6 +12,7 @@ in
ascensions = pkgs.callPackage ./ascensions.nix {
inherit (self'.packages) consul;
inherit (self) nixosModules;
inherit (config) cluster;
};
garage = pkgs.callPackage ./garage.nix {