Configure runner to run multiple jobs at the same time

▼魔方 西西 提交于 2020-01-31 09:35:30

问题


When having one gitlab runner serving multiple projects, it can only run one CI pipeline while the other project pipelines have to queue.

Is it possible to make a gitlab runner run pipelines from all projects in parallel?

I don't seem to find anywhere a configuration explanation for this.


回答1:


I believe the configuration options you are looking for is concurrent and limit, which you'd change in the GitLab Runners config.toml file.

From the documentation:

  • concurrent: limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited

  • limit: limit how many jobs can be handled concurrently by this token.

Useful issue as well.



来源:https://stackoverflow.com/questions/51828805/configure-runner-to-run-multiple-jobs-at-the-same-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!