fix: lots of regarding git + docker compose deployments

This commit is contained in:
Andras Bacsai
2023-11-27 14:28:21 +01:00
parent 8d86d53292
commit d4d2cc71a0
8 changed files with 135 additions and 63 deletions

View File

@@ -589,10 +589,10 @@ class Application extends BaseModel
]);
return $commands;
}
function parseCompose()
function parseCompose(int $pull_request_id = 0)
{
if ($this->docker_compose_raw) {
return parseDockerComposeFile($this);
return parseDockerComposeFile(resource: $this, isNew: false, pull_request_id: $pull_request_id);
} else {
return collect([]);
}