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

enforce docker sha for decision images

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

.taskcluster.yml の reference-browser エントリから始め、cot が有効なリポジトリ全体で decision image の参照を確認します。文書化されている docker inspect コマンドを実行して、どの RepoDigests 値が必要かを検証し、その後、既存の gecko の .taskcluster.yml の処理を読みます。完了条件は、適切な image SHA が文書化されて存在し、欠落している SHA が強制されることです。

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

説明

We have the reference-browser decision image tagged, but not pinned to a sha. We used to have a sha allowlist, and then removed that in favor of the sha being in the gecko .taskcluster.yml. We should probably enforce having a sha here.

There are actually three docker shas: the compressed artifact sha, and then docker has 2 different shas for an image: one with metadata and one without, iirc. I believe we want this one, but we should verify:

docker inspect --format='{{index .RepoDigests 0}}' $IMAGE

from here. Also see https://stackoverflow.com/questions/42879587/what-does-each-sha-mean-in-a-docker-image

Order of operations:

  • audit all cot-enabled repos for their decision shas
  • add the appropriate shas to the .taskcluster.yml files, and document how to update
  • enforce having a sha
主要言語
Python
スター
5
フォーク
41
平均マージ
2日 8時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

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

mozilla-releng/scriptworker のほかの issue

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

似ている issue

Python の issue をもっと見る

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

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