add integration test that does not use old recipe version when recipe is broken
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-13 17:32:37 +01:00
parent d155333e20
commit d07b775581

View File

@ -23,6 +23,7 @@ teardown(){
_reset_recipe
_undeploy_app
_undeploy_app2 "gitea.$TEST_SERVER"
_undeploy_app2 "zammad.$TEST_SERVER"
_reset_app
_reset_tags
@ -636,3 +637,20 @@ teardown(){
run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input
assert_success
}
@test "does not use old recipe version when recipe is broken" {
run $ABRA app new zammad \
--no-input \
--server "$TEST_SERVER" \
--domain "zammad.$TEST_SERVER" \
--secrets
assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER/zammad.$TEST_SERVER.env"
run $ABRA app deploy "zammad.$TEST_SERVER" --no-input
assert_success
refute_output --partial "1.0.0+6.3.1-95"
}