Skip to content

Commit

Permalink
nixos/tests/renovate: wait until renovate exits
Browse files Browse the repository at this point in the history
--wait doesn't work here, because renovate.service is no longer Type=oneshot
  • Loading branch information
NyCodeGHG committed Dec 9, 2024
1 parent dd97b55 commit 47befb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/tests/renovate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ import ./make-test-python.nix (
machine.succeed("tea pulls list --repo meow/kitty | grep 'Configure Renovate'")
machine.succeed("tea pulls merge --repo meow/kitty 1")
machine.systemctl("start --wait renovate.service")
machine.systemctl("start renovate.service")
machine.wait_until_succeeds("! systemctl is-active renovate.service")
machine.succeed("! systemctl is-failed renovate.service")
'';
}
)

0 comments on commit 47befb8

Please sign in to comment.