Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/routers/api/actions
Giteabot 8ca32dc873
Fix merging artifact chunks error when minio storage basepath is set (#28555) (#28568)
Backport #28555 by @fuxiaohei

Related to  https://github.com/go-gitea/gitea/issues/28279

When merging artifact chunks, it lists chunks from storage. When storage
is minio, chunk's path contains `MINIO_BASE_PATH` that makes merging
break.

<del>So trim the `MINIO_BASE_PATH` when handle chunks.</del>

Update the chunk file's basename to retain necessary information. It
ensures that the directory in the chunk's path remains unaffected.

Co-authored-by: FuXiaoHei <fuxiaohei@vip.qq.com>
2023-12-21 15:38:39 +08:00
..
ping Implement actions (#21937) 2023-01-31 09:45:19 +08:00
runner Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) (#27304) 2023-09-28 04:15:53 +00:00
actions.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
artifacts.go Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
artifacts_chunks.go Fix merging artifact chunks error when minio storage basepath is set (#28555) (#28568) 2023-12-21 15:38:39 +08:00
artifacts_utils.go Fix/upload artifact error windows (#27802) (#27840) 2023-10-30 11:57:48 +00:00