deepin-community / infra-settings

deepin cicd infrastructure config settings
GNU General Public License v3.0
2 stars 9 forks source link

Obs: backend and worker config update #103

Closed hudeng-go closed 8 months ago

hudeng-go commented 8 months ago
  1. 取消build目录共享,解决部分情况下共享的build数据被清理的问题
  2. backend添加crontab和logrotate支持
  3. backend other的worker配置更新,解决调度失败的问题

处理问题过程中发现一个obs调度的特性,即跨backend引用的project可以在当前backend进行调度和构建,例如backend ci引用了backend other的project(deepin:Develop:dde),则该project还来不及在backend other上调度的情况下,backend-ci在调度该project并分配构建任务到该backend上,这种情况下共享/srv/obs/repos目录有风险,后续计划使用publish hook的方式聚合各个backend的/srv/obs/repos目录,而不是简单的进行该目录的共享,聚合过程的数据拷贝计划使用硬链接。

deepin-ci-robot commented 8 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xzl01

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/deepin-community/infra-settings/blob/master/OWNERS)~~ [xzl01] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment