Nexus: add cleanup policy strategy
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- build-system, devops, infrastructure
Direzione di ricerca
Inizia da nexus-data/createRepoMavenInternal.json ed esamina la pull request 159 per la strategia nexus-cli proposta. Traccia come vengono inizializzati i dati Maven, quindi determina come configurare e pianificare la cleanup policy e la Compact blob store task. Il lavoro è completo quando il repository maven-internal inizializzato ruota gli artefatti e recupera il contenuto eliminato come descritto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Shell
- Stelle
- 19
- Fork
- 18
- Merge medio
- 1g 53m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ome/devspace
-
Jenkins-ci upgrade Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Inline omero-install content Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Setup golden DB in merge-ci Apertaenhancement help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
-
Set POSTGRES_PASSWORD Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
Tutte le issue di ome/devspace
Issue simili
-
Bob Shell support Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
openSUSE/python-rpm-macros#219 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
YunoHost-Apps/adguardhome_ynh#258 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repair Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ValveSoftware/SteamOS#2829 ·