gitlab的容器注册表(https://gitlab.com/help/container_registry/README.md)的文档提供了一个配置示例,其中包含以下指令:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.example.com
而这个解释:
You have to use the credentials of the special gitlab-ci-token user with its password stored in $CI_BUILD_TOKEN in order to push to the Registry connected to your project. This allows you to automated building and deployment of your Docker images.
我找不到关于这个特殊gitlab-ci-token用户的任何文档,也没有关于$CI_BUILD_TOKENvar的文档.
这个特殊用户是什么?它是自动可用的吗?是否必须在某处定义?应该给$CI_BUILD_TOKENvar 什么值?
我们希望使用类似于在Stash中工作的合并请求批准,其中一个人创建PR并且可以分配多个可以批准或拒绝的审阅者.只有在N个审阅者批准(每个存储库可配置)时,才能合并PR.
看来这个功能只在GitLab EE中提供,是吗?从CE迁移到EE有免费或廉价的替代方案吗?
也许是自定义的GitLab fork或插件/插件?