4 ms·
Ah gitlab. I tried two whole days to do something, I assumed CI was created for: compiling a binary artifact, and distributing it with some sort of URL where I
by atoav 5y ago
Ah gitlab. I tried two whole days to do something, I assumed CI was created for: compiling a binary artifact, and distributing it with some sort of URL where I can always get the latest version.
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..
- otterlicious 5y agohttps://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#access-the-latest-job-artifacts-by-url https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#a... 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