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

@@ -1,3 +0,0 @@
#!/bin/sh
echo "Built and pushed!"
mkdir -p /tmp/${TEST_ID} && touch /tmp/${TEST_ID}/post-push

View File

@@ -84,7 +84,7 @@ class IntegrationTest < ActiveSupport::TestCase
end
def assert_hooks_ran
[ "pre-build", "post-push" ].each do |hook|
[ "pre-build" ].each do |hook|
file = "/tmp/#{ENV["TEST_ID"]}/#{hook}"
assert_match /File: #{file}/, deployer_exec("stat #{file}", capture: true)
end