Promote Job artifacts to Release artifacts
Problem to solve
Currently we are building artifacts in GitLab CI and are publishing them via the job artifact
feature. We would like to be able to promote these published artifacts to be associated with a given release.
Further details
Instead of using tokens during the build to craft a new release and upload artifacts, we would like to simply re-assign the artifacts we're already publishing as ones to be used in a given release.
Proposal
- Modify the Releases page to include the published artifacts from that Git tag.
- Automatically "keep" artifacts forever if they are published to a release.
- Enhance the latest artifact API to support downloading from releases
What does success look like, and how can we measure that?
If via a simple configuration, releases automatically included the successfully published job artifacts from that Git tag. And they were easily available for API consumption.