From 0e581f1a7f178b313552e787fed0429b6af4e2d6 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 14 Oct 2026 11:54:29 -0400 Subject: [PATCH] tests: move the shared source-image app off via git:from-archive deploy_app cannot push onto an app that already has git history from git:from-image. git:from-archive deploys and clears source-image the same way git_4 already does. --- tests/unit/scheduler-docker-local.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/scheduler-docker-local.bats b/tests/unit/scheduler-docker-local.bats index 722e45c55..d523cd90b 100644 --- a/tests/unit/scheduler-docker-local.bats +++ b/tests/unit/scheduler-docker-local.bats @@ -520,7 +520,7 @@ teardown() { echo "status: $status" assert_success - run deploy_app + run /bin/bash -c "tar -C ${BATS_TEST_DIRNAME}/../../tests/apps -cf - python | dokku git:from-archive $TEST_APP --" echo "output: $output" echo "status: $status" assert_success