Merge "Add stdout to indicate expiring runs operations"
This commit is contained in:
commit
6a00ad755f
@ -106,8 +106,10 @@ def validate_head_file(config):
|
|||||||
def expire_old(config, cmd):
|
def expire_old(config, cmd):
|
||||||
expire_age = int(CONF.command.expire_age)
|
expire_age = int(CONF.command.expire_age)
|
||||||
if not CONF.command.no_runs:
|
if not CONF.command.no_runs:
|
||||||
|
print('Expiring old runs.')
|
||||||
db_api.delete_old_runs(expire_age)
|
db_api.delete_old_runs(expire_age)
|
||||||
if not CONF.command.no_test_runs:
|
if not CONF.command.no_test_runs:
|
||||||
|
print('Expiring old test_runs')
|
||||||
db_api.delete_old_test_runs(expire_age)
|
db_api.delete_old_test_runs(expire_age)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user