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

Upgrade guide: the current release's snapshot must exist in the new name and format

オープン 初心者向け
#211 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
80/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, go, shell

調査の方向性

この issue は guides/upgrade-to-onebox-names にあるアップグレードガイドを指しています。そのガイドを読んで、ステップ5とその周辺の文脈を理解してください。修正には、変換された ob.yml(v1alpha1 形式)をリリースディレクトリに onebox.snapshot.yml としてコピーするステップを追加することが含まれます。ob.yml のリリースコミットの git diff を確認して変更を検証してください。ガイドを編集した後、ドキュメントのテストを実行するか、変更をローカルでプレビューしてください。

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

説明

bug

Problem

After following guides/upgrade-to-onebox-names, the first ob deploy refuses during planning:

read live secret generation: deploy planning refused: release <current> snapshot unavailable (exit 1):
cat: /var/lib/onebox/app/releases/<current>/onebox.snapshot.yml: No such file or directory

Deploy planning reads the current release's snapshot to find which workloads carry secrets. The release was written by an earlier version as ob.snapshot.yml, in the onebox.run/v1 format this version cannot read, and the guide's step 5 moves the directory but leaves the snapshot as it was.

Found migrating the goal production host. ob bootstrap passed; only the deploy stopped, with the application down.

Workaround used

Copy the project's converted v1alpha1 ob.yml into the current release as onebox.snapshot.yml, keeping ob.snapshot.yml. This is correct only when the converted file describes that release: confirm with git diff <release commit> -- ob.yml that nothing but comments differs.

Fix

Add that step to the guide after step 5, before ob bootstrap, and say that the project file must be converted to v1alpha1 before the host is moved.

主要言語
Go
スター
3
フォーク
0
平均マージ
2時間 44分
マージ済み PR(30日)
49

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

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

はじめの一歩

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

labstack/onebox のほかの issue

labstack/onebox の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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