refs #1858. Added description into deployImage selector
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
1bca31ec5f
commit
6867f74098
|
@ -54,7 +54,7 @@ class ResponseController extends AbstractOgRepositoryController
|
|||
$imageImageRepository->setStatus(ImageStatus::SUCCESS);
|
||||
$this->entityManager->persist($imageImageRepository);
|
||||
|
||||
if ($data['success'] !== true) {
|
||||
if (isset($data['success']) && $data['success'] !== true) {
|
||||
$this->updateTraceStatus($trace, TraceStatus::FAILED, $data['output'] ?? 'Action failed');
|
||||
return new JsonResponse(['message' => 'Success'], Response::HTTP_OK);
|
||||
}
|
||||
|
@ -90,6 +90,7 @@ class ResponseController extends AbstractOgRepositoryController
|
|||
}
|
||||
|
||||
$newImageRepo = new ImageImageRepository();
|
||||
$newImageRepo->setName($image->getName().'_v'.($originImageImageRepository->getVersion() + 1));
|
||||
$newImageRepo->setImage($image);
|
||||
$newImageRepo->setRepository($repository);
|
||||
$newImageRepo->setStatus(ImageStatus::SUCCESS);
|
||||
|
|
Loading…
Reference in New Issue