testcontainers / testcontainers/testcontainers-java
[Feature]: Presto Module uses the outdated Docker Image of `ghcr.io/trinodb/presto` and needs to be updated to `prestodb/presto`
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 8.7k
- Fork
- 1.9k
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 9
Mô tả
Module
Presto
Problem
-
Presto Module uses the outdated Docker Image of
ghcr.io/trinodb/prestoand needs to be updated toprestodb/presto. -
Refer to https://github.com/testcontainers/testcontainers-java/blob/1.19.8/modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java and https://github.com/orgs/trinodb/packages/container/package/presto .
ghcr.io/trinodb/prestohas not been updated in 3 years. -
I'm confused by the instructions at https://java.testcontainers.org/modules/databases/presto/ .
This module is deprecated, use Trino module.
- The problem is, development of
prestohas been active, see https://hub.docker.com/r/prestodb/presto and https://github.com/prestodb/presto .
Solution
- Use
prestodb/prestoinstead ofghcr.io/trinodb/prestoinorg.testcontainers.containers.PrestoContainer.
Benefit
- This would obviously clarify the current situation regarding Presto. Presto is still maintained normally, so the corresponding testcontainers module should not be marked as deprecated.
Alternatives
- Maybe not. I'm not sure why
ghcr.io/trinodb/prestowas used initially.
Would you like to help contributing this feature?
No
Hướng dẫn đóng góp
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.
Hướng nghiên cứu
Bắt đầu với modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java, điểm đầu vào được xác định trong issue, và so sánh cấu hình image của nó với tài liệu Presto hiện tại cũng như các tham chiếu image. Công việc được hoàn tất khi module sử dụng prestodb/presto và tài liệu không còn trình bày trạng thái của module theo cách gây hiểu lầm.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, java
- Lĩnh vực
- databases, testing
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 68/100