mirror of
1
Fork 0
forgejo/services/actions
FuXiaoHei 7f64e4d2a3
Expire artifacts before deleting them physically (#29241)
https://github.com/go-gitea/gitea/pull/27172#discussion_r1493735466

When cleanup artifacts, it removes storage first. If storage is not
exist (maybe delete manually), it gets error and continue loop. It makes
a dead loop if there are a lot pending but non-existing artifacts.

Now it updates db record at first to avoid keep a lot of pending status
artifacts.
2024-02-23 09:06:14 +01:00
..
auth.go Port "Use general token signing secret" 2024-02-19 20:49:37 +01:00
auth_test.go Port "Use general token signing secret" 2024-02-19 20:49:37 +01:00
cleanup.go Expire artifacts before deleting them physically (#29241) 2024-02-23 09:06:14 +01:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Show commit status for releases (#29149) 2024-02-19 22:58:33 +01:00
init.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
job_emitter.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
job_emitter_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
main_test.go [ACTIONS] skip superflous pull request synchronized event (#2314) 2024-02-11 13:06:54 +00:00
notifier.go Fix missed edit issues event for actions (#29237) 2024-02-19 22:58:33 +01:00
notifier_helper.go [ACTIONS] skip superflous pull request synchronized event (#2314) 2024-02-11 13:06:54 +00:00
notifier_helper_test.go [ACTIONS] skip superflous pull request synchronized event (#2314) 2024-02-11 13:06:54 +00:00
schedule_tasks.go [ACTIONS] on.schedule: the event is always "schedule" 2024-02-05 16:54:44 +01:00