Skip to content

Download releases using deploy tokens.

Problem to solve

I would like to create releases and then have CI pipelines download the releases using a deploy token. Currently, this requires a git clone.

Intended users

Users implementing cross-project CI pipelines.

Further details

It makes sense to treat releases in a way similar to how docker images are treated.

Proposal

A project manager creates a new release. He creates a deploy token, and ticks a "releases" checkbox. The token can then be used to download releases for that project.

Permissions and Security

The same permissions required to create deploy tokens for the existing features.

Documentation

I think the documentation changes would be minimal. Simply a sentence or two in the docs for deploy tokens.

Testing

Testing seems pretty straightforward. Just make sure it's possible to download a release using a deploy token.