Limit the number of concurrent jobs per-token. Jobs can be run: Locally. Using Docker containers. Using Docker containers and executing job over SSH. Using Docker containers with autoscaling on different clouds
$ cat/Users/wanyang3/.gitlab-runner/config.toml concurrent=2check_interval=0[[runners]]name="my-gitlab"url="http://my.gitlab.com/"token="71c294dafefcd12358a773bb35d0ea"executor="kubernetes"[runners.cache][runners.kubernetes]host=""bearer_token_overwrite_allowed=falseimage=""namespace=""...
在这里,我们将其设置为3600秒。concurrent:10 # 指定Runner可以同时处理的最大任务数。在这里,我们将其设置为10。checkInterval:10 # 指定Runner检查新任务的时间间隔。在这里,我们将其设置为10秒。rbac: # 指定Role-Based Access Control(基于角色的访问控制)的配置。在这里,我们启用了RBAC,并为Runner定义了一组...
gitlab-runner配置文件 (改完配置文件,它会自动生效的。) [root@Devops6 ~]#cat /etc/gitlab-runner/config.tomlconcurrent=1check_interval=0[session_server]session_timeout=1800[[runners]]name="build01"url="http://172.29.9.101:8076/"token="PzMYek9JphRmM5Fo5qKo"executor="shell"[runners.custom_...
concurrent = 1 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "node1.ayunw.cn" url = "你的gitlab访问的url地址" token = "在gitlab的ui上看到的token" executor = "docker" [runners.custom_build_dir] ...
image:#指定gitlab-runner镜像imagePullPolicy:#镜像拉取策略gitlabUrl:#gitlab地址runnerRegistrationToken:#gitlab-runner注册用到的tockenconcurrent:#设置同行运行的runner个数checkInterval:#定义检查gitlab新构建的频率rbac:#角色设置create:trueclusterWideAccess:truemetrics:#prometheus metrics数据暴露enabled:truerunners...
<concurrent-id> is a unique number, identifying the local job ID on the particular Runner in context of the project <namespace> is the namespace where the project is stored on GitLab <project-name> is the name of the project as it is stored on GitLab To overwrite the <working-director...
concurrent = 1 check_interval = 0 [[runners]] name = "just for test" url = "http://192.168.10.171/" token = "d8af9b38c095ed6a041c21ab5ecd1e" executor = "docker" [runners.docker] tls_verify = false image = "/qianjia2018/qianjia_prod" ...
concurrent = 1 check_interval = 0 connection_max_age = "15m0s" shutdown_timeout = 0 [session_server] session_timeout = 1800 [[runners]] name = "testci" url = "http://192.168.3.81" id = 1 token = "glrt-VLQtayr8CevuWjg1-D3r" ...
Gitlab-Runner输出最大限制 Gitlab-Runner输出最⼤限制 gitlab-runner默认的控制台⽇志输出的最⼤长度是4096,实际情况中难免会超出,如果有需要可以在config.toml中添加output_limit=[数字]配置字段来调整⽇志输出最⼤长度:concurrent = 1 check_interval = 0 [session_server]session_timeout = 1800 [[...