test: remove recipe sync dependency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-19 11:17:26 +01:00
committed by decentral1se
parent 78899f173c
commit abcbdf57f1

View File

@ -87,8 +87,10 @@ teardown(){
assert_success
}
# bats test_tags=slow
@test "bail if recipe lint errors and no --chaos" {
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" checkout main
assert_success
# Break the recipe
run sed -i '/traefik.enable=.*/d' "$ABRA_DIR/recipes/$TEST_RECIPE/compose.yml"
assert_success
@ -100,8 +102,8 @@ teardown(){
assert_success
# Make a broken release
run $ABRA recipe sync --patch "$TEST_RECIPE"
run $ABRA recipe release --patch -n "$TEST_RECIPE"
assert_success
# Make sure we deploy latest
_wipe_env_version