gitea/models
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
..
actions Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
activities
admin
asymkey
auth
avatars
db
dbfs
fixtures
git
issues
migrations Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
organization
packages
perm
project
pull
repo
secret Refactor secrets modification logic (#26873) 2023-09-05 15:21:02 +00:00
shared/types
system
unit
unittest
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go
migrate.go
org_team_test.go
org_team.go
org_test.go
org.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go