Add binary assets to a Release via gitlab-ci.yml
Problem to solve
In #26013 we extended
gitlab-ci.yml to support the creation of Releases automatically by a pipeline.
This issue extends that functionality by adding support for attaching binary assets to Releases during pipeline creation, defined by
Automation engineers who are working on releases and want a native way to add releases without using
script: elements to curl an API.
This will require coordination between the Release, Runner and Packing teams.
- Do we allow for changes to releases
- Integration with Release Evidence
- Automatic creation of tags if they do not exist
job: stage: release only: tags script: - make changelog | tee release_changelog.txt release: name: Release $CI_TAG_NAME description: ./release_changelog.txt assets: link: name: cool-app.zip url: http://my.awesome.download.site/1.0-$CI_COMMIT_SHORT_SHA.zip link: name: cool-app.exe url: http://my.awesome.download.site/1.0-$CI_COMMIT_SHORT_SHA.exe
Extend work done in #26013 on the Runner:
- Capture assets defined in
gitlab-ci.ymlduring pipeline runs
Upon success of the pipeline the Runner:
- Upload those assets to the GitLab Package Registry
- Creates a Release via API call and attaches links to the assets
Extend documentation produced here !19237
What is the type of buyer?
This feature will be available on all tiers.