Merge branch 'main' into 19582-aws-s3v2-driver
[arvados.git] / services / api / lib / tasks / delete_old_container_logs.rake
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # This task finds containers that have been finished for at least as long as
6 # the duration specified in the `clean_container_log_rows_after` config setting,
7 # and deletes their stdout, stderr, arv-mount, crunch-run, and  crunchstat logs
8 # from the logs table.
9
10 namespace :db do
11   desc "deprecated / no-op"
12
13   task delete_old_container_logs: :environment do
14     Rails.logger.info "this db:delete_old_container_logs rake task is no longer used"
15   end
16 end