'How can I verify the CI artifact retention period and report on existing artifact expiration?

In the gitlab-ci file, artifact retention can be set with expire_in, and if no expiration is given then git defaults to 30 days, unless overridden or the artifact was generated before June 22, 2020

I’m working on a project to unify our pipeline configs and am unable to find where to view our artifact's expiration dates. On the individual pipeline steps, there is a message that states expiration time, but I can’t find how to see this for an entire project or group.

To my surprise, I can’t find anything in the Git documentation on how to view or report on this.

Does anyone have suggestions for how to check artifact expiration times for a project, or a group?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source