mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(server-transfer): run instance migration as a background job (#12180)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4553454f89
commit
7c14c0098e
@@ -19,6 +19,7 @@ use App\Models\GithubRunnerExecution;
|
||||
use App\Models\PrivateKey;
|
||||
use App\Services\GithubRunner\GithubRunnerApi;
|
||||
use App\Services\GithubRunner\GithubRunnerContainer;
|
||||
use App\Services\ServerTransfer\TransferFinishChecklist;
|
||||
use Exception;
|
||||
use Illuminate\Http\Exceptions\HttpResponseException;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
@@ -136,6 +137,7 @@ class Github extends Controller
|
||||
|
||||
continue;
|
||||
}
|
||||
TransferFinishChecklist::recordWebhook('application', $application->uuid);
|
||||
$isFunctional = $application->destination->server->isFunctional();
|
||||
if (! $isFunctional) {
|
||||
$return_payloads->push([
|
||||
@@ -428,6 +430,7 @@ class Github extends Controller
|
||||
return response('Invalid signature.');
|
||||
}
|
||||
}
|
||||
TransferFinishChecklist::recordWebhook('github_app', $github_app->uuid);
|
||||
if ($x_github_event === 'installation' || $x_github_event === 'installation_repositories') {
|
||||
// Installation handled by setup redirect url. Repositories queried on-demand.
|
||||
$action = data_get($payload, 'action');
|
||||
|
||||
Reference in New Issue
Block a user