Archives frequency deletion is now configurable.
This commit is contained in:
parent
fbcc560820
commit
0f821d89bc
|
@ -161,6 +161,7 @@ gitea_app_configurations:
|
||||||
# - { section: 'metrics', option: 'TOKEN', value: '{{ gitea_prometheus_bearer_token }}', state: 'present' }
|
# - { section: 'metrics', option: 'TOKEN', value: '{{ gitea_prometheus_bearer_token }}', state: 'present' }
|
||||||
|
|
||||||
gitea_enable_repository_archives_cron_jobs: true
|
gitea_enable_repository_archives_cron_jobs: true
|
||||||
|
gitea_delete_repo_archives_frequency: "@weekly"
|
||||||
gitea_rep_archives_configuration:
|
gitea_rep_archives_configuration:
|
||||||
- { section: 'cron.archive_cleanup', option: 'ENABLED', value: 'true', state: 'present' }
|
- { section: 'cron.archive_cleanup', option: 'ENABLED', value: 'true', state: 'present' }
|
||||||
- { section: 'cron.archive_cleanup', option: 'RUN_AT_START', value: 'false', state: 'present' }
|
- { section: 'cron.archive_cleanup', option: 'RUN_AT_START', value: 'false', state: 'present' }
|
||||||
|
@ -170,5 +171,5 @@ gitea_rep_archives_configuration:
|
||||||
- { section: 'cron.delete_repo_archives', option: 'ENABLED', value: 'true', state: 'present' }
|
- { section: 'cron.delete_repo_archives', option: 'ENABLED', value: 'true', state: 'present' }
|
||||||
- { section: 'cron.delete_repo_archives', option: 'RUN_AT_START', value: 'false', state: 'present' }
|
- { section: 'cron.delete_repo_archives', option: 'RUN_AT_START', value: 'false', state: 'present' }
|
||||||
- { section: 'cron.delete_repo_archives', option: 'NOTICE_ON_SUCCESS', value: 'false', state: 'present' }
|
- { section: 'cron.delete_repo_archives', option: 'NOTICE_ON_SUCCESS', value: 'false', state: 'present' }
|
||||||
- { section: 'cron.delete_repo_archives', option: 'SCHEDULE', value: '@weekly', state: 'present' }
|
- { section: 'cron.delete_repo_archives', option: 'SCHEDULE', value: '{{ gitea_delete_repo_archives_frequency }}', state: 'present' }
|
||||||
- { section: 'cron.delete_repo_archives', option: '', value: '', state: 'present' }
|
- { section: 'cron.delete_repo_archives', option: '', value: '', state: 'present' }
|
||||||
|
|
Loading…
Reference in New Issue