Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
需求
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
测试用例
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
gitlab-cn
GitLab
提交
334d754b
提交
334d754b
编辑于
2 years ago
作者:
Kelly
浏览文件
操作
下载
补丁
差异文件
Update the cicd minutes doc
Update the cicd minutes doc Changelog: other JH: true
上级
5137cdff
Loading
Loading
1 合并请求
!1152
Add the cicd minutes doc
流水线
#722808
已通过
2 years ago
阶段:sync
阶段:lint
阶段:test
此提交是合并请求
!1152
的一部分。此处创建的评论将在该合并请求的上下文中创建。
变更
2
流水线
1
隐藏空白变更内容
行内
左右并排
显示
2 个更改的文件
jh/doc/ci/pipelines/cicd_minutes.md
+46
-17
46 个添加, 17 个删除
jh/doc/ci/pipelines/cicd_minutes.md
jh/doc/subscriptions/index.md
+6
-5
6 个添加, 5 个删除
jh/doc/subscriptions/index.md
有
52 个添加
和
22 个删除
jh/doc/ci/pipelines/cicd_minutes.md
+
46
−
17
编辑
浏览文件 @
334d754b
...
...
@@ -140,7 +140,7 @@ NOTE:
您可以为您的群组购买额外的 CI/CD 分钟数。
您无法将购买的 CI/CD 分钟数从一个群组转移到另一个群组,因此请务必选择正确的群组。
1.
在顶部栏上,选择
**菜单 > 群组**
并找到您的组。
1.
在顶部栏上,选择
**菜单 > 群组**
并找到您的
群
组。
1.
在左侧边栏中,选择
**设置 > 使用量配额**
。
1.
选择
**购买更多分钟数**
。
1.
填写交易详情。
...
...
@@ -184,27 +184,56 @@ Job duration * Cost factor
一条流水线使用的 CI/CD 分钟数是流水线中运行的所有作业使用的总 CI/CD 分钟数。作业可以同时运行,因此总 CI/CD 分钟使用量可能高于流水线的端到端持续时间。
<!--
### Cost factor
### 消耗参数
The cost factor for a job running on a shared runner is:
在 JiHuLab 的共享运行器上运行作业的消耗参数为:
-
`0.008`
for public projects on GitLab SaaS, if
[
created 2021-07-17 or later
](
https://gitlab.com/gitlab-org/gitlab/-/issues/332708
)
.
(For every 125 minutes of job time, you accrue 1 CD/CD minute.)
-
`0.008`
for projects members of GitLab
[
Open Source program
](
../../subscriptions/index.md#gitlab-for-open-source
)
.
(For every 125 minutes of job time, you accrue 1 CD/CD minute.)
-
`0`
for public projects on GitLab self-managed instances, and for GitLab SaaS public projects created before 2021-07-17.
-
`1`
for internal and private projects.
-
`1`
:内部和私人项目。
-
`0.5`
:
[
极狐GitLab 开源项目
](
../../subscriptions/index.md#gitlab-for-open-source
)
中的公共项目。
-
`0.008`
:
[
极狐GitLab 开源项目
](
../../subscriptions/index.md#gitlab-for-open-source
)
中公共项目的公共派生。对于每 125 分钟的作业执行时间,
您会使用 1 个 CI/CD 分钟数。
-
`1`
:2022 年 10 月 1 日之后的其他公共项目。
对于每 1 分钟的作业执行时间,您会使用 1 个 CI/CD 分钟数。
-
[
免费版极狐GitLab 项目
](
#cost-factor-for-community-contributions-to-gitlab-projects
)
有另外的计算方式。
### Additional costs on GitLab SaaS
私有化部署的消耗参数为:
GitLab SaaS shared runners have different cost factors, depending on the runner type (Linux, Windows, macOS) and the virtual machine configuration.
-
`0`
:公共项目,不消耗 CI/CD 分钟数。
-
`1`
:内部和私人项目。
<a
id=
"cost-factor-for-community-contributions-to-gitlab-projects"
></a>
#### 免费版极狐GitLab 项目的消耗参数
使用免费版极狐GitLab 的贡献者在为极狐GitLab 维护的开源项目做出贡献时可以使用共享 Runner 上的 30 万分钟数。
这 30 万分钟数适用于所有 SaaS 层,消耗参数计算方式如下:
-
`Monthly minute quota / 300,000 job duration minutes = Cost factor`
例如,专业版中每个月拥有 10,000 的 CI/CD 分钟数:
-
10,000 / 300,000 = 0.03333333333 消耗参数
对于降低的消耗参数:
-
合并请求源项目必须是极狐GitLab 所维护项目的派生。
<!--例如
[
`gitlab-com/www-gitlab-com`
](
https://gitlab.com/gitlab-com/www-gitlab-com
)
或
[
`gitlab-org/gitlab`
](
https://gitlab.com/gitlab-org/gitlab
)
等。-->
-
合并请求目标项目必须是派生的父项目。
-
流水线必须是合并请求、合并结果或合并队列流水线。
极狐GitLab 管理员可以使用名为
`ci_minimal_cost_factor_for_gitlab_namespaces`
的
[
标志
](
../../administration/feature_flags.md
)
将命名空间添加到降低的消耗参数中。
### JiHuLab SaaS 上的额外消耗
JiHuLab SaaS Runner 根据不同的 Runner 类型(Linux、Windows 或 macOS)和虚拟机配置,拥有不同的消耗参数。
| JiHuLab SaaS Runner 类型 | 机器类型 | CI/CD 分钟数消耗参数 |
|:---------------------------|:-----|:---------------------------------|
| Linux OS + Docker 执行器 | 小 | 1 |
| Linux OS + Docker 执行器 | 中 | 2 |
| Linux OS + Docker 执行器 | 大 | 3 |
| SaaS runner 类型 | 虚拟机配置 | CI/CD 分钟消耗因数 |
| :--------- | :------------------- | :--------- |
| Linux OS + Docker executor| 1 vCPU, 3.75 GB RAM |1|
| macOS + shell executor | 4 vCPU, 10 GB RAM| 6 |
-->
### 每月重置 CI/CD 分钟数
...
...
此差异已折叠。
点击以展开。
jh/doc/subscriptions/index.md
+
6
−
5
编辑
浏览文件 @
334d754b
...
...
@@ -160,13 +160,14 @@ non-commercial academic research.
Find more information how to apply and renew at
[
GitLab for Education
](
https://about.gitlab.com/solutions/education/
)
.
-->
## G
it
L
ab
for
O
pen
S
ource
subscriptions
<a
id=
"g
it
l
ab
-
for
-o
pen
-s
ource
"
></a>
All
[
GitLab for Open Source
](
https://about.gitlab.com/solutions/open-source/
)
requests, including subscription renewals, must be made by using the application process.
If you have any questions, send an email to
`opensource@gitlab.com`
for assistance.
-->
## 开源订阅的极狐GitLab
所有的
[
极狐GitLab 开源
](
https://about.gitlab.cn/solutions/open-source/
)
请求,包括续订,都必须使用应用程序进程进行提出。
如有任何疑问,请发邮件至 opensource@jihulab.com。
## 联系技术支持
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录