Re:GitLab 8.3 released with Auto-merge and GitLab Pages
by pliu on Wednesday December 23, 2015 @04:14AM
(#10782580)
I sometimes have a similar issue with Travis CI, if I can't use one of their built in integrations or something. A simple workaround is to just upload an artifact to S3 after a successful build. Then on another system scan the bucket with a cron or listen for an S3 event notification for further processing. You can put a lifecycle policy on the bucket so it cleans up after a while too.
It's sort of annoying to have to add on another system to the pipeline, but I think it's generally reasonable. Managing artifacts shouldn't really be part of the CI system anyway, I feel it's better to handle that stuff separately.
Re:GitLab 8.3 released with Auto-merge and GitLab Pages
by hobarrera on Wednesday December 23, 2015 @12:46PM
(#10784497)
I'm still using the old approach, which is adding a local directory as a docker volume, where all my artefacts are stored.
nginx then serves them under a unique path.
I would very much like to see gitlab offer the ability to get artifacts via some API so I can remove all that hackery.
Re:GitLab 8.3 released with Auto-merge and GitLab Pages
by sytse on Wednesday December 23, 2015 @03:48AM
(#10782518)
We're working on an artifact browser for 8.4. I assume an API for that will be trivial after that has landed.
Re:GitLab 8.3 released with Auto-merge and GitLab Pages
by sytse on Wednesday December 23, 2015 @09:36AM
(#10783458)
You can follow the work in this in https://gitlab.com/gitlab-org/gitlab-ce/issues/3426
Re:GitLab 8.3 released with Auto-merge and GitLab Pages
by mijoharas on Wednesday December 23, 2015 @02:17PM
(#10785047)
I gotta say, this is one of the killer features (for me) of gitlab. It's very actively maintained and constantly improving. (Nice to see that Mattermost is included automatically too, gonna have to enable that later and mess about with it!)
But programatically pulling artifacts from gitlab CI does not seem to have a well-documented approach.