Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: mix format

+16 -5
+8 -3
apps/sower_agent/lib/sower_agent/deployer.ex
··· 128 128 reason: inspect(reason) 129 129 ) 130 130 131 - write_log_fun.(deployment, seed, preamble ++ [ 132 - "FATAL: missing activator executable sower-activator; deployment cannot continue" 133 - ]) 131 + write_log_fun.( 132 + deployment, 133 + seed, 134 + preamble ++ 135 + [ 136 + "FATAL: missing activator executable sower-activator; deployment cannot continue" 137 + ] 138 + ) 134 139 135 140 {:error, _reason} -> 136 141 :ok
+8 -2
apps/sower_agent/test/sower_agent/deployer_test.exs
··· 377 377 378 378 logged_lines = capture_log_lines(deployment) 379 379 380 - assert Enum.any?(logged_lines, &(&1 =~ "[sower]" and &1 =~ "realized" and &1 =~ "seed-seed_r1")) 380 + assert Enum.any?( 381 + logged_lines, 382 + &(&1 =~ "[sower]" and &1 =~ "realized" and &1 =~ "seed-seed_r1") 383 + ) 381 384 end 382 385 383 386 test "includes realization failure decision line in log output" do ··· 563 566 564 567 logged_lines = capture_log_lines(deployment) 565 568 566 - assert Enum.any?(logged_lines, &(&1 =~ "[sower]" and &1 =~ "switch" and &1 =~ "seed-seed_md1")) 569 + assert Enum.any?( 570 + logged_lines, 571 + &(&1 =~ "[sower]" and &1 =~ "switch" and &1 =~ "seed-seed_md1") 572 + ) 567 573 end 568 574 end 569 575