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

CI: pin ghcr nmisp-test images by digest for reproducibility

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

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

評価

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

調査の方向性

build-test-image.yml から始めて、build-push-action の digest 出力と既存の git-auto-commit-action ステップを確認します。次に、conda_env_test.yml がイメージタグをどのように使用しているかを追跡し、issue で説明されている永続的な digest アプローチのいずれかを選択して、変更されていないコミットが不変のイメージ参照を使用することを検証します。

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

説明

build-test-image.yml publishes only floating tags:

  • ghcr.io/<owner>/nmisp-test:latest-2023.09
  • ghcr.io/<owner>/nmisp-test:latest-nightly

conda_env_test.yml consumes those floating tags directly. This means a CI run on an unchanged commit can produce different test results if the image is rebuilt between runs (e.g. nightly base updates, or a Dockerfile change in a separate PR).

Suggested approach

  1. After build-push-action succeeds, capture the resulting image digest (steps.<id>.outputs.digest).
  2. Write the digest somewhere durable — options:
    • Commit a docker/image-digests.json file via the existing git-auto-commit-action step.
    • Or push a :digest-<sha> tag and have conda_env_test.yml resolve it.
  3. conda_env_test.yml consumes the digest (e.g. ghcr.io/...nmisp-test@sha256:…) instead of :latest-2023.09.

Why

Reproducibility: a green CI run today should be reproducible tomorrow on the same commit. Currently it isn't, because the image is mutable. Pinning by digest also surfaces image bumps as explicit commits/PRs that can be reviewed, rather than silently-changing infrastructure.

主要言語
Jupyter Notebook
スター
12
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

kangwonlee/nmisp のほかの issue

kangwonlee/nmisp の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

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

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