remove rays

This commit is contained in:
Andras Bacsai 2024-01-09 14:48:26 +01:00
parent 7feba4bbaa
commit 3b080abada

View File

@ -755,7 +755,6 @@ class Application extends BaseModel
// if (count($this->ports_mappings_array) > 0) { // if (count($this->ports_mappings_array) > 0) {
// $deployment->addLogEntry('Application has ports mapped to the host system, rolling update is not supported.'); // $deployment->addLogEntry('Application has ports mapped to the host system, rolling update is not supported.');
$containers = getCurrentApplicationContainerStatus($server, $this->id, $pullRequestId); $containers = getCurrentApplicationContainerStatus($server, $this->id, $pullRequestId);
ray($containers);
// if ($pullRequestId === 0) { // if ($pullRequestId === 0) {
// $containers = $containers->filter(function ($container) use ($containerName) { // $containers = $containers->filter(function ($container) use ($containerName) {
// return data_get($container, 'Names') !== $containerName; // return data_get($container, 'Names') !== $containerName;
@ -867,7 +866,6 @@ class Application extends BaseModel
} else { } else {
$git_clone_command = $this->setGitImportSettings($deployment_uuid, $git_clone_command_base); $git_clone_command = $this->setGitImportSettings($deployment_uuid, $git_clone_command_base);
} }
ray($git_clone_command);
if ($exec_in_docker) { if ($exec_in_docker) {
$commands = collect([ $commands = collect([
executeInDocker($deployment_uuid, "mkdir -p /root/.ssh"), executeInDocker($deployment_uuid, "mkdir -p /root/.ssh"),