testcontainers / testcontainers/testcontainers-python

New Container: sshd container with different variant `ubuntu, fedora, archlinux, ...`, with ability to preset a lot of authetication related value

Đang mở
#780 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

🚀 enhancement
Ngôn ngữ chính
Python
Star
2.3k
Fork
386
Merge trung bình
4 giờ 40 phút
Pull request đã merge (30 ngày)
1

Mô tả

What is the new container you'd like to have?

If possible just OS container like ubuntu, fedora, ...

But with sshd service enabled, and the authentication or users is preset by the provided argument to the Container class.

This class of container can significantly ease the testing process for user who are developing SSH-protocol related application.

Today, too many utility are depending on SSH protocol for secure connection (like git, rsync, sshfs, ...), especially in Unix/Linux world.

Why not just use a generic container for this?

Because sshd setup and configuration is relatively complicated, if all the time, user have to manually configure it, it will waste user a lot of time, and it is buggy especially apply it in a testing scenario.

There is different way of authentication and setting for sshd running in different distro.
If this work is done by the user, the user has to manually copy and do string editing in the configuration file for sshd. If exception arise, user will be very difficult to figure out whether the error is from their testcase or the container itself.

And SSHD is a different protocol to HTTP.

Other references:

Include any other relevant reading material about the enhancement.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Issue không nêu tên tệp hoặc điểm vào của kiểm thử. Trước tiên, hãy xem xét các API container hiện có của repository và các tài liệu tham chiếu OpenSSH và sshd được liên kết, sau đó xác định các biến thể phân phối được hỗ trợ, các đầu vào xác thực và các kiểm thử chứng minh rằng container đã sẵn sàng để sử dụng với giao thức SSH.

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, python
Lĩnh vực
devops, testing-qa
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.