Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitLab generic packages repository for assets #174

Closed
walkafwalka opened this issue Nov 20, 2020 · 4 comments
Closed

Use GitLab generic packages repository for assets #174

walkafwalka opened this issue Nov 20, 2020 · 4 comments
Labels

Comments

@walkafwalka
Copy link

The GitLab generic packages repository is more suited for storing assets related to releases.

And unlike the current project uploads API, the documentation explicitly states that the CI_JOB_TOKEN has access to the Packages API.

@nfriend
Copy link
Contributor

nfriend commented Dec 3, 2020

@walkafwalka Thanks for this! I agree that the Generic Package Registry is a better fit. In fact, this is the direction GitLab itself is taking (see https://gitlab.com/gitlab-org/gitlab/-/issues/255271#note_453907441 and https://gitlab.com/gitlab-org/release-cli/-/issues/68).

I would suggest we wait until GitLab has landed on an specific approach and then updating this plugin to mirror its behavior.

@mikaelkaron
Copy link

I think this has happened now: https://docs.gitlab.com/ee/user/project/releases/#use-a-generic-package-for-attaching-binaries

@mfoti
Copy link

mfoti commented Dec 17, 2021

I have also an error uploading file with size greater than 100Mb:

[semantic-release] [@semantic-release/gitlab] › ✖ An error occurred while uploading /builds/[...]/MyPackage-1.0.0-amd64.deb to the GitLab project uploads API: HTTPError: Response code 413 (Request Entity Too Large)

Can I try to post a PR?

fgreinacher added a commit that referenced this issue Jan 30, 2023
@fgreinacher
Copy link
Contributor

This is now possible, thanks to @JonasSchubert work in #343 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants