Skip to content

Commit 05e5afc

Browse files
wxiaoguangsilverwind
authored andcommitted
Improve document for ARTIFACT_RETENTION_DAYS (go-gitea#28646)
Follow go-gitea#28626
1 parent 470cc40 commit 05e5afc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom/conf/app.example.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ LEVEL = Info
25722572
;;
25732573
;; Default platform to get action plugins, `github` for `https://github.com`, `self` for the current Gitea instance.
25742574
;DEFAULT_ACTIONS_URL = github
2575-
;; Default artifact retention time in days, default is 90 days
2575+
;; Default artifact retention time in days. Artifacts could have their own retention periods by setting the `retention-days` option in `actions/upload-artifact` step.
25762576
;ARTIFACT_RETENTION_DAYS = 90
25772577
;; Timeout to stop the task which have running status, but haven't been updated for a long time
25782578
;ZOMBIE_TASK_TIMEOUT = 10m

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ PROXY_HOSTS = *.gh.loli.garden
13901390
- `DEFAULT_ACTIONS_URL`: **github**: Default platform to get action plugins, `github` for `https://github.com`, `self` for the current Gitea instance.
13911391
- `STORAGE_TYPE`: **local**: Storage type for actions logs, `local` for local disk or `minio` for s3 compatible object storage service, default is `local` or other name defined with `[storage.xxx]`
13921392
- `MINIO_BASE_PATH`: **actions_log/**: Minio base path on the bucket only available when STORAGE_TYPE is `minio`
1393-
- `ARTIFACT_RETENTION_DAYS`: **90**: Default number of days to keep artifacts. This can be overridden in `actions/upload_artifact`. Set to 0 to disable artifact retention. Default is 90 days if not set. Each artifact can have it's own number of retention days.
1393+
- `ARTIFACT_RETENTION_DAYS`: **90**: Default number of days to keep artifacts. Artifacts could have their own retention periods by setting the `retention-days` option in `actions/upload-artifact` step.
13941394
- `ZOMBIE_TASK_TIMEOUT`: **10m**: Timeout to stop the task which have running status, but haven't been updated for a long time
13951395
- `ENDLESS_TASK_TIMEOUT`: **3h**: Timeout to stop the tasks which have running status and continuous updates, but don't end for a long time
13961396
- `ABANDONED_JOB_TIMEOUT`: **24h**: Timeout to cancel the jobs which have waiting status, but haven't been picked by a runner for a long time

0 commit comments

Comments
 (0)