testcontainers / testcontainers/testcontainers-python
New Container: sshd container with different variant `ubuntu, fedora, archlinux, ...`, with ability to preset a lot of authetication related value
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 386
- 平均マージ
- 4時間 40分
- マージ済み PR(30日)
- 1
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue ではファイルもテストのエントリーポイントも指定されていません。まず、リポジトリに既存するコンテナ API と、リンクされている OpenSSH および sshd のリファレンスを確認し、その後、サポートするディストリビューションのバリアント、認証入力、およびコンテナが SSH プロトコルで使用できる状態であることを示すテストを定義してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, python
- 領域
- devops, testing-qa
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100