Is it possible to configure GitLab.com's default shared runners?

Viewed 24

I am facing an out of memory error in one of my CI/CD pipelines, so I would like to customise the configuration of my GitLab's shared runners, for example by using a config.toml file. I would also like to avoid self-hosting a GitLab Runner instance, if possible.

Is there a way of doing that ?

2 Answers

As far as I know, there is no way of changing the config.

However, according to this doc, I can pick from 3 machine sizes up to 16GB RAM, and add the appropriate tag at the job level in my gitlab-ci.yaml.

Note that this will impact the CI/CD minutes cost factor.

For GitLab Premium and Ultimate (os, not free), you do have GitLab 15.4 (September 2022), which comes with:

More powerful Linux machine types for GitLab SaaS runners

When you run jobs on GitLab SaaS Linux runners, you now have access to more powerful machine types: medium and large. With these two machine types, you have more choices for your GitLab SaaS CI/CD jobs. And with 100% job isolation on an ephemeral virtual machine, and security and autoscaling fully managed by GitLab, you can confidently run your critical CI/CD jobs on GitLab SaaS.

https://about.gitlab.com/images/15_4/select-multiple-gitlab-saas-linux-runners.png -- More powerful Linux machine types for GitLab SaaS runners

See Documentation and Issue.

Related