testcontainers / testcontainers/testcontainers-python

Change RedpandaContainer startup script path

オープン
#841 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
2.3k
フォーク
386
平均マージ
4時間 40分
マージ済み PR(30日)
1

説明

Hi,

we're running Testcontainers in Openshift using Kubedock; when using RedpandaContainer, our tests break because , after the container is started, the actual startup script is copied to / which is not writable by the redpanda user. I think we could safely switch to another directory, for example /var/lib/redpanda (btw I see other libraries are doing the same, see here).
I realize we have a pretty unique setup but the change should be pretty simple and probably using a directory owned by the user that runs the container could prevent issues in other environments too.
If you think it's feasible I can work on a PR.

Thanks,

lorenzo

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず RedpandaContainer の実装を見つけ、コンテナの起動後にその起動スクリプトがどこへコピーされるかを確認します。issue で説明されている OpenShift と Kubedock のセットアップにおける既存のコンテナ動作を確認します。スクリプトが redpanda ユーザーによって書き込み可能なディレクトリに配置され、影響を受けるテストが失敗しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, python
領域
devops, testing
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。