相关疑难解决方法(0)

什么是特殊的gitlab-ci-token用户?

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 什么值?

gitlab docker gitlab-ci gitlab-ci-runner

20
推荐指数
1
解决办法
1万
查看次数

GitLab CE中的合并请求批准

我们希望使用类似于在Stash中工作的合并请求批准,其中一个人创建PR并且可以分配多个可以批准或拒绝的审阅者.只有在N个审阅者批准(每个存储库可配置)时,才能合并PR.

看来这个功能只在GitLab EE中提供,是吗?从CE迁移到EE有免费或廉价的替代方案吗?

也许是自定义的GitLab fork或插件/插件?

git pull-request gitlab

11
推荐指数
1
解决办法
6509
查看次数

标签 统计

gitlab ×2

docker ×1

git ×1

gitlab-ci ×1

gitlab-ci-runner ×1

pull-request ×1