travel audience’s Nexus is primarily filled with docker images.When changes are made to our git repositories our extensive CI pipeline is triggered, part of which is building a docker image. That means that any commit in our git repositories will be built and tagged with the change name (ie. SHA code, branch name, PR number or git tag). All these artifacts are then pushed to Nexus to allow our K8s clusters to pull them when needed.
This setup of pushing to Nexus on any change was created in order to allow our developers to test their work. With this approach, they are able to test independently and in integration with other services in our non-production environments.
This build logic can cause clutter. Not only did it cause the persistent volume of Nexus to reach its capacity, but also made Nexus backup process extremely long. Moreover, navigation through the extremely long list of Docker tags in Nexus started to be troublesome.
Click here to read.