Add Build Artifacts overview to project's CI/CD menu
Problem to solve
Get an overview of a project's build artifacts, their amount, sizes, age and related jobs.
Intended users
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
Further details
The Project info box in the administrative project overview breaks a project's size down like
In this example, I can see that there are > 400 MB of build artifacts for a rather small and inactive project.
There is no easys way to check...
- how this disk space is distributed (some large or many small artifacts)
- if the disk space is utilized permanent (i.e. no expiration)
- which Jobs actually produced / added the build artifacts
- how the artifact size grew over time (i.e. if expiration works as expected, if everything is cleaned as planned and if many some early malformed CI definition went wrong)
Proposal
Add a Build Artifacts
menu entry to a project's CI/CD
menu.
- the page should list all artifacts in a table, showing
- the creation time
- the related Job
- the expiration (if set)
- the artifact size
It should be possible to sort by time, size and expiration (asc/desc).
For abandoned projects that are going to be archived it should as well be possible to delete all existing build artifacts.
Permissions and Security
It should be possible to reuse the existing permissions from the Job overview.
Documentation
As this wouldn't add actual functionality but only provides existing information and action in a more accessible way, the only required documentation would be on how to use the new dialog.
Testing
Low risk, as the functionality is merely limited to displaying existing data - except for the remove all build artifacts
functionality, which needs excessive testing and should only work for archived projects with no active Jobs.
What does success look like, and how can we measure that?
New web dialog Build Artifacts
present.