fix(deployments): prevent Git fetches from hanging (#12321)

This commit is contained in:
Andras Bacsai
2026-10-26 09:33:37 +01:00
committed by GitHub
parent 5443d4fa5a
commit ddeb05280e
6 changed files with 116 additions and 17 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ describe('Git submodule credential propagation', function () {
exec_in_docker: false,
);
$sshCommand = 'ssh -o ConnectTimeout=30 -p 22 -o Port=22 -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /root/.ssh/id_rsa_coolify_test-uuid -o IdentitiesOnly=yes';
$sshCommand = 'ssh -o ConnectTimeout=30 -o ServerAliveInterval=15 -o ServerAliveCountMax=4 -p 22 -o Port=22 -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /root/.ssh/id_rsa_coolify_test-uuid -o IdentitiesOnly=yes';
// Commands are a list of ['command' => ..., 'hidden' => ...] entries; assert on the joined shell script
$commands = collect($result['commands'])