refs #2462. ogGit, updateImage
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
parent
d37e93db6f
commit
c93cddeb62
|
@ -73,14 +73,11 @@ readonly class ImageProcessor implements ProcessorInterface
|
|||
$response = $this->createImageActionController->__invoke($data->queue, $data->selectedImage->getEntity(), $data->partition->getEntity(), $data->client->getEntity(), $data->gitRepository);
|
||||
} else {
|
||||
$image = $data->createOrUpdateEntity($entity);
|
||||
$this->validator->validate($image);
|
||||
|
||||
if ($this->kernel->getEnvironment() !== 'test') {
|
||||
$response = $this->createImageActionController->__invoke($data->queue, $image, null, null, $data->gitRepository);
|
||||
}
|
||||
|
||||
if ($data->type !== 'git') {
|
||||
$this->validator->validate($image);
|
||||
}
|
||||
|
||||
$this->imageRepository->save($image);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue