Combine post-deploy and post-rollback

This commit is contained in:
Donal McBreen
2023-05-23 12:14:37 +01:00
parent 004f1b04e6
commit cc2b321d93
5 changed files with 5 additions and 26 deletions

View File

@@ -1,3 +0,0 @@
#!/bin/sh
echo "Rolled back!"
mkdir -p /tmp/${TEST_ID} && touch /tmp/${TEST_ID}/post-rollback

View File

@@ -17,7 +17,7 @@ class MainTest < IntegrationTest
assert_hooks_ran "pre-build", "post-deploy"
mrsk :rollback, first_version
assert_hooks_ran "post-rollback"
assert_hooks_ran "post-deploy"
assert_app_is_up version: first_version
details = mrsk :details, capture: true