ci(aqua): aqua_versionをRenovate管理下に置く - #190
Merged
Merged
Conversation
aqua_versionはaqua-installerの入力値で標準マネージャーの対象外のため 更新されず、ci.yaml(v2.56.1)とautofix.yaml(v2.56.6)がズレて古いまま 放置されていた。customManagerで拾えるようアノテーションを付与し、 併せて最新のv2.62.2へ統一する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aqua_versionは aqua-installer の入力値であり、Renovate の標準マネージャーの対象外だった。そのため更新されずに放置され、
ci.yamlが v2.56.1、autofix.yamlが v2.56.6 とバージョンがズレたまま塩漬けになっていた。古い aqua は、チェックサムファイルが取得できない場合のフォールバック
(アセットを直接ダウンロードしてハッシュを計算する)が弱く、
upstream 側のリリース構成変更に追従できず CI が落ちる要因になりうる。
Changes
aqua_versionに# Renovate: depName=aquaproj/aquaアノテーションを付与.github/renovate.json5に customManagers(regex)を追加してこれを拾う固定自体はやめていない。再現性を保ったまま、Renovate に自動更新させる形にする。
既存の
minimumReleaseAge: 14 daysとautomergeがそのまま効く。Notes
aqua/aqua.yamlの registry ref(# Renovate: depName=aquaproj/aqua-registry)に合わせた。ただし registry 側は aqua マネージャーが標準対応しているため
customManager は不要で、今回の regex は
aqua_versionのみを対象としているcurrentValue/depNameを正しくキャプチャすることはローカルで確認済み。設定自体の妥当性は既存の Renovate config linter が検証する