admin管理员组文章数量:1122846
I need to customize all repositories in my Gitlab instance:
- Limit the number of allowed pipeline runs for a project (commit trigger and other) per day. So that it is not possible to abuse the resource time of the runner.
- Restrict the ability of users to edit the gitlab-ci.yml file.
Regarding the first question, I looked up
CI/CD limits
and foundMaximum number of pipeline schedules
, however this limit does not take into account pipelines created on commit (logical from the name).On the second question, I had an idea to move the
gitlab-ci.yml
file to another repository with less access. And use it in the current repository withinclude
. In this case it will not be possible to make changes in the maingitlab-ci.yml
file, but it will be possible to add or correct the one in the repository.
Пользователь, который работает с репозиторием и требует ограничения -
Developer
.
本文标签: Gitlab CICD Access RestrictionStack Overflow
版权声明:本文标题:Gitlab CICD Access Restriction - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309850a1934167.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论