Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Feed cloudops-infra env into `tests/test_init.py`

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, github, python

調査の方向性

まず tests/test_init.py と docker.d/init.sh のテストセットアップから始め、次に cloudops-infra リポジトリで変数がどのように定義されているか、また SOPS キーがどのように表現されているかを調べます。必要な GitHub API アクセスを特定し、手動で管理しているコンテキスト値を取得した変数と秘密鍵用に生成したダミー値に置き換え、テストが統合パスをカバーしていることを確認します。

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

説明

I recently added a test that runs the docker.d/init.sh script. The problem is that it relies on a ton of environment variables that are populated from cloudops-infra. To get around this, I basically just manually created a giant context dict containing dummy values for everything.

Ben had the idea of trying to fetch these directly (would need a Github API token) and using the actual variables fetched from the cloudops-infra repo. Not only would this make manual maintenance less of a burden, but it would turn test_init.sh into an integration test that covers parts of the deploy pipeline with cloudops-infra as well.

Note that the values come from SOPS, so we'd obviously still need dummy values for the keys.. But these could be autogenerated for any keys we detect.

主要言語
Python
スター
16
フォーク
38
平均マージ
1日 7時間
マージ済み PR(30日)
14

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

mozilla-releng/scriptworker-scripts のほかの issue

mozilla-releng/scriptworker-scripts の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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