Nexus: add cleanup policy strategy
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, devops, infrastructure
Hướng nghiên cứu
Bắt đầu với nexus-data/createRepoMavenInternal.json và kiểm tra pull request 159 để xem chiến lược nexus-cli được đề xuất. Theo dõi cách dữ liệu Maven được khởi tạo, sau đó xác định cách cấu hình và lập lịch cho cleanup policy và Compact blob store task. Được xem là hoàn tất khi repository maven-internal đã được khởi tạo xoay vòng các artifact và thu hồi nội dung đã xóa như mô tả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
As of 0.16.0, this repository includes some minimal infrastructure to spin up a Nexus container and initialize a default maven-internal repository which can be used by the various Java building jobs to upload artifacts - see https://github.com/ome/devspace/blob/0.16.0/nexus-data/createRepoMavenInternal.json.
In the context of a permanent devspace, the default configuration will lead to a steady increase of the binary content under nexus-data which will eventually fill up the disk space.
Similarly to what is done by the Jenkins jobs generating artifacts, the way to manage disk space is to implement some cleanup policy allowing to rotate the artifacts. For instance, in https://merge-ci.openmicroscopy.org/jenkins/, a cleanup policy keeping only the 5 last snapshots is attached to the maven-internal repository. As noted in the documentation, a Compact blob store task also needs to be created and scheduled regularly to reclaim disk space for deleted artifacts (ran daily in the merge-ci example described above)
Ideally, these tasks and policies should be configured when initializing the Maven data. The default Maven API does not appear to include this level of granularity https://github.com/ome/devspace/pull/159 investigated a new strategy based on the usage of nexus-cli to create these more advanced configurations and is likely the best starting point to look into managing this configuration.
- Ngôn ngữ chính
- Shell
- Star
- 19
- Fork
- 18
- Merge trung bình
- 18 giờ 4 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ome/devspace
-
Jenkins-ci upgradeĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Inline omero-install contentĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Setup golden DB in merge-ciĐang mởenhancement help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
-
Set POSTGRES_PASSWORDĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
Issue tương tự
-
package-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/vllm-metal#841 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
obra/superpowers#2394 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
CachyOS/cachyos-aur-derived#772 ·
Maintainer thường phản hồi trong vòng 1 ngày