by atoav · 4y ago · 0 comments
Guess what: it cannot be done nicely without going back and forth with the API uploading that artifact via curl (?!) from Gitlab to Gitlab etc.
If even such a fundamental thing is not straightforward, I don't want to know about complicated things..
make_tarball:
script:
- tar cf dist/tarball.tar.gz project/
artifacts:
paths:
- dist/tarball.tar.gz
https://gitlab.com/api/v4/projects/username%2Fproject/jobs/artifacts/master/raw/dist/tarball.tar.gz?job=make_tarball