[Topic DIscussion] 打包:打包流水线通过并行化和迁移香港耗时降低75%
Tofloor
poster avatar
Barry-okx
Junior Packager
2021-09-29 15:21
Author

https://juejin.cn/post/7013017134628339725

经常关注我的同学应该知道作为一个开源爱好者 我承担了deepin下雷鸟邮件和火狐ESR的打包工作。

最初我使用朋友的阿里云北京机房的集群作为流水线的执行机,耗时如下: (9月之前只有雷鸟邮件 9月开始打包火狐ESR) 单个任务3分钟 俩任务叠加大概7分钟

图片.png

但是占用固定资源打包成本太高,我断断续续研究了一下阿里云的容器化构建,发现非常的好。 在迁移完成后,顺便拆分了串行打包为并行打包,时间又缩减了一半:

图片.png

节省下来的时间 一部分来自并行化 50%左右 另外一部分香港集群的网速可能也比之前使用的集群快一些,居然也有50%。

Reply Favorite View the author
All Replies
deepin-mq
deepin
2021-09-29 17:14
#1

Reply View the author
Barry-okx
Junior Packager
2021-09-29 20:15
#2

这个老冷门啦 咋还置顶了

Reply View the author
jiutian123
deepin
2021-09-29 20:29
#3

不太懂,仅支持你的探索

Reply View the author
HMOS1
deepin
2021-09-30 01:27
#4

路过学习一下

Reply View the author
安洛
deepin
2021-09-30 05:52
#5

方便讲讲是怎么做的吗?

Reply View the author
Barry-okx
Junior Packager
2021-09-30 06:22
#6
安洛

方便讲讲是怎么做的吗?

https://gitee.com/008/lishoujun.github.io/blob/master/deepin/package/net.thunderbird/package.sh

脚本就是这个  

 

流水线就是 

https://flow.aliyun.com/ 

 

按照阿里官方教程搞就行。

Reply View the author
xingkongs
deepin
2021-09-30 21:43
#7

Reply View the author