[Debian-zh-dev] salsa 增加默认的 CI/CD 配置

xiao sheng wen(肖盛文) atzlinux at sina.com
Thu Dec 2 08:19:12 GMT 2021


大家好!

     salsa 有一个默认的 CI/CD 配置文件:

recipes/debian.yml at salsa-ci-team/pipeline

把这个文件的路径,放入软件包的 CI/CD configuration file 
路径里面,就可以自动调用 salsa 默认的 CI/CD。

如 unicon 软件包,先访问如下网址:

https://salsa.debian.org/chinese-team/unicon/-/settings/ci_cd

再点击展开 流水线通用设置,就可以看到 “CI/CD configuration file” 配置栏。

这样进行配置,一个好处就是不需要在 git 
仓库里面增加文件,不影响原有的打包过程。

如果这个默认的配置文件不满足需求,还可以在这里自定义配置文件路径。

详情请参阅:https://salsa.debian.org/salsa-ci-team/pipeline/-/blob/master/README.md


我这两天对我们中文团队维护的一些软件包,增加了这个默认的 CI/CD 配置,

每次 git 提交会触发,如果有失败的任务,会收到系统发送的邮件。

总体使用感觉还是比较方便,对一些问题,可以直接把构建日志的 URL 
反馈给上游,沟通很方便。


大家如果有发现这块的问题,欢迎一起交流!


谢谢!

-- 
肖盛文 xiao sheng wen Faris Xiao
微信(wechat):atzlinux
《铜豌豆 Linux》https://www.atzlinux.com
基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
GnuPG Public Key: 0x00186602339240CB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x00186602339240CB.asc
Type: application/pgp-keys
Size: 9721 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20211202/15f48cb6/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20211202/15f48cb6/attachment-0001.sig>


More information about the Chinese-developers mailing list