Skip to content
Global sound
八百万のOSS

八百万のOSS

#26 Renovateはどこまで設定できるか — nginx-buildとprivate-isuの全自動更新

· 51 min · Season 1 Episode 26

Show notes

Renovateは、リポジトリ内の依存関係を検出し、新しいバージョンが出たら更新のプルリクエストを作ってくれるOSSです。今回は、catatsuyがメンテナンスしているnginx-buildとprivate-isuを例に、デフォルト設定の先でRenovateをどこまでカスタマイズできるのかを話しました。

nginx-buildは、nginxや依存ライブラリのバージョンをGoのソースコードに直接書いています。`customManagers`の正規表現を使えばこれも更新対象にできますが、そもそも何を最新版とするのか、バージョン情報をどこから取得するのかという問題があります。マイナーバージョンの末尾を`[02468]`に限定してnginxのstable版だけを追う設定や、4つ目の数字を持つOpenRestyへの対応を紹介します。

OpenRestyではタグが後から削除・変更されるなど、リリース運用に問題があります。こうした問題を避けようと導入した`minimumReleaseAge`は、現在ではサプライチェーン攻撃への備えとしても役立っています。stable版を機械的に判定しづらいLibreSSLは、`dependencyDashboardApproval`で人が確認してから承認しています。また、5言語の実装が同居するprivate-isuでは、定期的なロックファイルメンテナンスを…

Website: podcasters.spotify.com

Live, last hour: 16,603 songs on 8,269 stations in 151 countries

Discover the world through radio

More ways to discover (8)

Heard something good? Save it, or open it straight away in Spotify.

★ Artist of the week The fastest riser on the radio this week

All I Want For Christmas Is You

Mariah Carey

▲ 47places up54countries570radio stations2,308×on the radio

Measured live on 15,000+ radio stations worldwide

Spotify Watch the video
Urban City Radio StationContinue listening