gitea/models/migrations/v1_21
FuXiaoHei 460a2b0edf
Artifacts retention and auto clean up (#26131)
Currently, Artifact does not have an expiration and automatic cleanup
mechanism, and this feature needs to be added. It contains the following
key points:

- [x] add global artifact retention days option in config file. Default
value is 90 days.
- [x] add cron task to clean up expired artifacts. It should run once a
day.
- [x] support custom retention period from `retention-days: 5` in
`upload-artifact@v3`.
- [x] artifacts link in actions view should be non-clickable text when
expired.
2023-09-06 07:41:06 +00:00
..
main_test.go
v260.go
v261.go
v262.go
v263.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v264.go Drop the correct deleted branch table (#26028) 2023-07-26 08:41:33 +08:00
v265.go
v266.go
v267.go
v268.go
v269.go Drop the correct deleted branch table (#26028) 2023-07-26 08:41:33 +08:00
v270.go Fix typo in metadata (#26207) 2023-07-30 23:54:22 +00:00
v271.go Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
v272.go Add optimistic lock to ActionRun table (#26563) 2023-08-21 14:07:52 +00:00
v273.go chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
v274.go Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00