by asdkhadsj · 7y ago · 0 comments
I thought this was possible, but after searching I was often confused. I imagine I'm using poor terms during my search. Thoughts?
Yes - if you bring your own runner to GitLab.com you can run unlimited build minutes on it - the build minutes we count are only those on our shared compute (2000 minutes for free, etc.).
The other huge benefit is that you can put that runner behind your firewall without poking any holes - itbjust needs access to GitLab.com and it can run your builds.
Edit: see https://docs.gitlab.com/runner/executors/docker_machine.html
Buildkite is an excellent CI tool.
--executor docker+machine \
--machine-machine-driver amazonec2 \
--machine-machine-options "amazonec2-request-spot-instance=true \
--machine-machine-options "amazonec2-spot-price="
That last one means our bid defaults to the current on-demand price, which seems to get fulfilled immediately. FWIW we're using m4.large instances in eu-west-1a and according to the AWS UI the spot price has been perfectly consistent (at about 1/3 of on-demand) for at least the last 3 months so maybe that consistency is why it works so well for us.