feat: always initialize git repository
This fixes issues where alternative tools that don't trigger the init via sshcommand - such as git-http-backend - are not able to setup applications correctly. Note that those apps could always manually trigger git:initialize if desired, but if the app already exists, then this should already _just work_ without that extra initialization.
This commit is contained in:
@@ -52,7 +52,7 @@ teardown() {
|
||||
run /bin/bash -c "test -d $DOKKU_ROOT/$TEST_APP/refs"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_failure
|
||||
assert_success
|
||||
|
||||
run /bin/bash -c "dokku git:initialize $TEST_APP"
|
||||
echo "output: $output"
|
||||
@@ -69,7 +69,7 @@ teardown() {
|
||||
run /bin/bash -c "test -d $DOKKU_ROOT/$TEST_APP/refs"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_failure
|
||||
assert_success
|
||||
|
||||
deploy_app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user