Nexus: add cleanup policy strategy
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
nexus-data/createRepoMavenInternal.json から始め、提案されている nexus-cli 戦略について pull request 159 を調査します。Maven データがどのように初期化されるかを追跡し、その後、cleanup policy と Compact blob store task をどのように設定してスケジュールすべきかを判断します。初期化された maven-internal リポジトリが、説明どおりにアーティファクトをローテーションし、削除されたコンテンツを回収できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
As of 0.16.0, this repository includes some minimal infrastructure to spin up a Nexus container and initialize a default maven-internal repository which can be used by the various Java building jobs to upload artifacts - see https://github.com/ome/devspace/blob/0.16.0/nexus-data/createRepoMavenInternal.json.
In the context of a permanent devspace, the default configuration will lead to a steady increase of the binary content under nexus-data which will eventually fill up the disk space.
Similarly to what is done by the Jenkins jobs generating artifacts, the way to manage disk space is to implement some cleanup policy allowing to rotate the artifacts. For instance, in https://merge-ci.openmicroscopy.org/jenkins/, a cleanup policy keeping only the 5 last snapshots is attached to the maven-internal repository. As noted in the documentation, a Compact blob store task also needs to be created and scheduled regularly to reclaim disk space for deleted artifacts (ran daily in the merge-ci example described above)
Ideally, these tasks and policies should be configured when initializing the Maven data. The default Maven API does not appear to include this level of granularity https://github.com/ome/devspace/pull/159 investigated a new strategy based on the usage of nexus-cli to create these more advanced configurations and is likely the best starting point to look into managing this configuration.
- 主要言語
- Shell
- スター
- 19
- フォーク
- 18
- 平均マージ
- 1日 53分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ome/devspace のほかの issue
-
Jenkins-ci upgrade オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
enhancement help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
似ている issue
-
align on terminology オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CycloneDX/transparency-exchange-api#393 · コメント 1 件 ·
-
module/agent platform/macos type/bug/regression
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
CachyOS/cachyos-aur-derived#754 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CrowdStrike/falcon-scripts#528 ·
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100