GitLab CI builds remains pending

Pascal Boutin picture Pascal Boutin · Jan 6, 2016 · Viewed 15.1k times · Source

We recently started to use GitLab-CI on the gitlab.com free service. At first everything went fine, but now, seems like we can't build our project anymore. The builds are shown as pending and doesn't do anything.

Here's what we have in our builds list:

builds

And if we check the details of a build:

details

As you might notice, in the list, each build is assigned to a runner id, but in the details page, the runner section is blank.

At first, we thought it was just latency caused by gitlab.com ingrastructure, but it's really just stuck there...

EDIT

It's more than 1 year ago but I keep having notifications about this question. If I recall properly, the problem was due to GitLab itself. Follow the GitLab docs and make sure your setup is valid, and hope for the best !

Answer

Jose Torres picture Jose Torres · Jan 6, 2016

GitLab maxed out their shared runners but they have just finished adding more of them. Now GitLab has 12 shared runners. Take a look at this issue: https://gitlab.com/gitlab-org/gitlab-foss/issues/5543#note_3130561

Update

GitLab has moved to auto scaling Runners. If you're still hitting any issues it might be due to a different cause.