News for hackers. Stuff that matters.
Re:GitLab Runner 1.1 with Autoscaling by sytse on Tuesday March 29, 2016 @11:55AM (#11382369)
We're very excited about allowing people to easily parallelize and scale their tests. Less waiting for CI for finish! AMA
Re:GitLab Runner 1.1 with Autoscaling by cm3 on Tuesday March 29, 2016 @03:09PM (#11384035)
Does GitLab runner imply that I can move my open source projects to GitLab free edition and have integrated CI without the need to sign up at Travis-CI AND also including Windows support? That would be spectacular.
Re:GitLab Runner 1.1 with Autoscaling by ayufan on Tuesday March 29, 2016 @03:24PM (#11384142)
Currently Shared Runners offer only Linux-based builds. We can introduce extensions to that offering at some point.

The Linux-based Shared Runners are free for everyone, including for private projects.

Re:GitLab Runner 1.1 with Autoscaling by asteadman on Tuesday March 29, 2016 @03:27PM (#11384164)
This is only tangentially related, but information on the runtime environment of gitlab.com's shared runners is a little obtuse. Is using a shared runner with a private repository a no-go if I want to keep my repo private? All I can find is the cryptic warning "GitLab Runners do not offer secure isolation between projects that they do builds for. You are TRUSTING all GitLab users who can push code to project A, B or C to run shell scripts on the machine hosting runner X." I take this to mean that I have to trust everyone who can push code to the shared runner, which for all intents and purposes is anyone with a gitlab account.
Re:GitLab Runner 1.1 with Autoscaling by ayufan on Tuesday March 29, 2016 @04:11PM (#11384482)
This was problem in the past. Since we use Docker we have fairly good separation of builds. You are not able to fetch someone other source unless you find or use linux kernel exploit. This will get improved further with upcoming upgrades to shared runners offering: https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/.... Most likely we will run the builds only once on the VM.
Re:GitLab Runner 1.1 with Autoscaling by sytse on Tuesday March 29, 2016 @04:36PM (#11384670)
We'll improve the warning with this updated information https://gitlab.com/gitlab-org/gitlab-ce/issues/14732
Re:GitLab Runner 1.1 with Autoscaling by toddkazakov on Tuesday March 29, 2016 @02:31PM (#11383710)
It's a pity that you specify the docker image in the runner configuration. Wouldn't it be better if this is specified in the build file in the repo?
Re:GitLab Runner 1.1 with Autoscaling by andridk on Tuesday March 29, 2016 @02:50PM (#11383878)
I have a per-job image specified in my build files. As I understand it, the runner image is just the default.
Re:GitLab Runner 1.1 with Autoscaling by ayufan on Tuesday March 29, 2016 @03:03PM (#11383971)
Exactly. The image specified during registration is the default one.

You can override the image globally in .gitlab-ci.yml or on per-job basis. Full flexibility here :)

Re:GitLab Runner 1.1 with Autoscaling by toddkazakov on Tuesday March 29, 2016 @02:52PM (#11383886)
Ah, ok. I just got confused here.
Re:GitLab Runner 1.1 with Autoscaling by hanikesn on Tuesday March 29, 2016 @04:41PM (#11384710)
What about using kubernetes for running gitlab ci?
Re:GitLab Runner 1.1 with Autoscaling by sytse on Tuesday March 29, 2016 @06:53PM (#11385633)
That would be awesome. But a merge request we had for that added a lot of dependencies to GitLab Runner. So we're still thinking about the best way. Suggestions are welcome. BTW Deploy to Kubernetes is easy via https://about.gitlab.com/2016/03/22/gitlab-8-6-released/