Does anyone run their own gitlab-runner? I am usin...
# terraform
s
Does anyone run their own gitlab-runner? I am using https://github.com/cattle-ops/terraform-aws-gitlab-runner but I always seem to have random problems. I was looking into docker-autoscaler rather than using docker+machine as I do now, but even that is in beta and has some open issues with many problems it seems. Wonder if anyone has this working flawlessly if its some settings I might have missed or misconfigured?
l
i largely switched private runners for gitlab and for github over to the new codebuild runner feature. it's awesome. https://docs.aws.amazon.com/codebuild/latest/userguide/runners.html
👀 2
s
Codebuild seems good, I suppose the main question is what's the price difference? With the cattle-ops gitlab-runner I mentioned above we use it with docker machine so we only have a small instance running with t3.micro type that spawns other runners, total cost for our team of 10 is around 60USD a month last I checked, but there's something like 5 or 10% failure rate in pipelines which the developers are complaining a lot about so considering other options.
l
you'd have to do the math on the number of build minutes, and compute type, https://aws.amazon.com/codebuild/pricing/
for me, the flexibility on runner types makes a lot of difference also... with codebuild runners, i can support linux and windows, without having to manage a bunch of code or terraform deployments
👀 1
s
I also wanted to ask is it like a drop in replacement for the private gitlab-runners? And does it scale up nicely when needed?
l
yeah so far just been a drop-in replacement. once the codebuild project is setup, and auth'd to gitlab, we just set the runner tag in the gitlab-ci config, and away it goes
👀 1
also, it's true serverless in the sense of zero cost when nothing is executing
you can create the codebuild job, and not use it, and there won't be any costs. then introduce it to one project to see how it goes, before offering it to everyone
🙌 1
s
Thanks let me try that