Not worth the log noise
This commit is contained in:
@@ -7,12 +7,12 @@ namespace :mrsk do
|
|||||||
namespace :prune do
|
namespace :prune do
|
||||||
desc "Prune unused images older than 30 days"
|
desc "Prune unused images older than 30 days"
|
||||||
task :images do
|
task :images do
|
||||||
on(MRSK.config.hosts) { MRSK.verbosity(:debug) { execute *MRSK.prune.images } }
|
on(MRSK.config.hosts) { execute *MRSK.prune.images }
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Prune stopped containers for the service older than 3 days"
|
desc "Prune stopped containers for the service older than 3 days"
|
||||||
task :containers do
|
task :containers do
|
||||||
on(MRSK.config.hosts) { MRSK.verbosity(:debug) { execute *MRSK.prune.containers } }
|
on(MRSK.config.hosts) { execute *MRSK.prune.containers }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user