Commit Graph
12 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 7955e8ee06 fix: keep the git source-image property in sync with failed deploys
The source-image property was written before the deploy lock was taken
and was not restored when a deploy failed, so after a rejected
git:from-image or git:load-image it named an image that was not
deployed, and later builds extracted app.json, Procfile, and CHECKS
from it. Deploys from other sources also built while the old image was
still set.

Entry points now pass the desired value via DOKKU_GIT_SOURCE_IMAGE and
git_receive_app applies it while holding the deploy lock, restoring the
previous value on failure. git:sync clears the property under the lock
when it fetches new code.

Closes #9117
2026-10-11 05:08:32 -04:00
Jose Diaz-Gonzalez 795d4941ee chore: rename test files 2024-03-13 07:47:54 -04:00
Jose Diaz-Gonzalez 50958fc448 refactor: remove git:unlock command
This is no longer necessary with improvements elsewhere in Dokku.
2024-03-13 06:24:30 -04:00
Jose Diaz-Gonzalez a901661e91 chore: set perms on tmp git directory 2021-03-12 02:55:33 -05:00
Jose Diaz-Gonzalez 9781a905a7 fix: create correct clone directory 2021-03-12 02:55:22 -05:00
arturs 4e50214b80 remove redundant commands from test 2021-03-12 08:25:55 +02:00
arturs 5c27ec31b7 add deploy command to tests 2021-03-11 21:55:32 +02:00
arturs 76d9b37b22 fix typo 2021-03-11 19:19:59 +02:00
arturs dff21e1d36 fix test 2021-03-11 18:58:50 +02:00
arturs 888f45254a fix shfmt 2021-03-11 17:59:46 +02:00
arturs ebcacdb5af add new line at the end of the file 2021-03-11 17:46:20 +02:00
arturs 8d11789566 add tests and prompt to unlock 2021-03-11 17:41:39 +02:00