Skip to content

Commit 7d5ac68

Browse files
GiteaBotkemzeb
andauthored
Sync up deleted branches & action assets related cleanup documentation (#31022) (#31049)
Backport #31022 by @kemzeb Syncs up docs associated to actions and deleted branch cleanup i.e. in custom/app.example.ini and the config cheat sheet. Co-authored-by: Kemal Zebari <[email protected]>
1 parent 2648962 commit 7d5ac68

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

custom/conf/app.example.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,6 +2035,17 @@ LEVEL = Info
20352035
;; or only create new users if UPDATE_EXISTING is set to false
20362036
;UPDATE_EXISTING = true
20372037

2038+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2039+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2040+
;; Cleanup expired actions assets
2041+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2042+
;[cron.cleanup_actions]
2043+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2044+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2045+
;ENABLED = true
2046+
;RUN_AT_START = true
2047+
;SCHEDULE = @midnight
2048+
20382049
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20392050
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20402051
;; Clean-up deleted branches

docs/content/administration/config-cheat-sheet.en-us.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,12 +974,20 @@ Default templates for project boards:
974974
- `SCHEDULE`: **@midnight** : Interval as a duration between each synchronization, it will always attempt synchronization when the instance starts.
975975
- `UPDATE_EXISTING`: **true**: Create new users, update existing user data and disable users that are not in external source anymore (default) or only create new users if UPDATE_EXISTING is set to false.
976976

977-
## Cron - Cleanup Expired Actions Assets (`cron.cleanup_actions`)
977+
#### Cron - Cleanup Expired Actions Assets (`cron.cleanup_actions`)
978978

979979
- `ENABLED`: **true**: Enable cleanup expired actions assets job.
980980
- `RUN_AT_START`: **true**: Run job at start time (if ENABLED).
981981
- `SCHEDULE`: **@midnight** : Cron syntax for the job.
982982

983+
#### Cron - Cleanup Deleted Branches (`cron.deleted_branches_cleanup`)
984+
985+
- `ENABLED`: **true**: Enable deleted branches cleanup.
986+
- `RUN_AT_START`: **true**: Run job at start time (if ENABLED).
987+
- `NOTICE_ON_SUCCESS`: **false**: Set to true to log a success message.
988+
- `SCHEDULE`: **@midnight**: Cron syntax for scheduling deleted branches cleanup.
989+
- `OLDER_THAN`: **24h**: Branches deleted OLDER_THAN ago will be cleaned up.
990+
983991
### Extended cron tasks (not enabled by default)
984992

985993
#### Cron - Garbage collect all repositories (`cron.git_gc_repos`)

0 commit comments

Comments
 (0)