1
1
我认为我们需要在这里绕一小段路,解释一下GitLab CI中的工作原理。
每个作业都是一个封装的docker容器。容器只执行您希望在
如果你想检查一下,你的图片中有什么可用的,或者你想在本地尝试一下。您可以在本地运行带有此映像的容器,并将项目文件夹装入其中。
如果您想使用不同的docker映像,比如说因为您正在运行其他构建工具,您可以使用
您的工作中确实有可用的功能,这是由图像提供的。因为作业将在该映像的容器中运行。 你甚至可以使用一些工具,比如 https://github.com/firecow/gitlab-ci-local 以在本地对此进行验证。但最终,这些只是docker图像,您可以轻松地自行重新创建流程。 |
muffel · 访问同一作业上一次运行的工件 6 年前 |
Chuck Claunch · Gitlab测试覆盖率分析失败 6 年前 |
Dan · 使用Gitlab CI清除管道缓存 6 年前 |
Sah · GitLab CI:仅在满足所有条件时运行作业 6 年前 |
JoArias · gitlab ci在推送上构建分支 6 年前 |
pyriand3r · 共享gitlab ci。项目之间的yml 6 年前 |