mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-18 14:23:15 +00:00
docs(ui): clarify application image retention cleanup options
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
['value' => true, 'label' => 'Delete unused networks'],
|
||||
]" />
|
||||
<x-forms.listbox id="disableApplicationImageRetention" label="Application images"
|
||||
helper="Keeping retained images allows application rollbacks."
|
||||
helper="Choose Keep retained images to follow each application’s Images to keep setting under Rollback. Delete all old images ignores that setting and keeps only the running image."
|
||||
onChange="instantSave" :options="[
|
||||
['value' => false, 'label' => 'Keep retained images'],
|
||||
['value' => true, 'label' => 'Delete all old images'],
|
||||
|
||||
@@ -17,3 +17,11 @@ test('docker cleanup executions show a loading state while opening an execution'
|
||||
->toContain('wire:loading.remove')
|
||||
->toContain('<x-loading wire:loading');
|
||||
});
|
||||
|
||||
test('docker cleanup explains application image retention options', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/server/docker-cleanup.blade.php'));
|
||||
|
||||
expect($view)
|
||||
->toContain('Choose Keep retained images to follow each application’s Images to keep setting under Rollback.')
|
||||
->toContain('Delete all old images ignores that setting and keeps only the running image.');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user