Merge pull request 'Modificada acción RemoveCacheImage para montar la cache antes de intentar eliminar la imagen' (#118) from delete-cache-image into devel
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details

Reviewed-on: #118
pull/119/head
Juan Manuel Bardallo 2026-05-18 14:12:07 +02:00
commit 9ca7374847
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## [1.8.2] - 2026-05-18
### Improved
- Modificada accion RemoveCacheImage para montar la cache y luego eliminar la imagen deseada
## [1.8.1] - 2026-05-18
### Fixed

View File

@ -42,7 +42,7 @@ class RemoveCacheImageAction extends AbstractOgAgentController
continue;
}
$script = 'rm -r /opt/opengnsys/cache/opt/opengnsys/images/' . escapeshellarg($input->imageName) . '*';
$script = 'ogMountCache && rm -r /opt/opengnsys/cache/opt/opengnsys/images/' . escapeshellarg($input->imageName) . '*';
$data = [
'nfn' => 'EjecutarScript',