Remove post push hook

This commit is contained in:
Donal McBreen
2023-05-22 15:06:05 +01:00
parent 0bc1fbfb74
commit 38023fe538
6 changed files with 2 additions and 36 deletions

View File

@@ -49,14 +49,6 @@ class CliBuildTest < CliTestCase
assert @executions.none? { |args| args[0..2] == [:docker, :buildx, :build] }
end
test "push post-push hook failure" do
fail_hook("post-push")
assert_raises(Mrsk::Cli::HookError) { run_command("push") }
assert @executions.any? { |args| args[0..2] == [:docker, :buildx, :build] }
end
test "pull" do
run_command("pull").tap do |output|
assert_match /docker image rm --force dhh\/app:999/, output