摘 要:针对某些行业边缘云环境存在的局限性与对新型开发技术和敏捷开发的迫切需求之间的矛盾,文章设计实现了一个软件全生命周期 DevOps 平台,并在某大型软件研发项目中得到成功应用。该平台将 DevOps 流程进行自动化流水线式集成,利用交叉编译技术,使其能够支撑 Windows 和 Linux 软件开发;再通过 Agent 在物理机、虚拟机以及容器等多环境中实现软件的自动部署和运维,实现从架构、开发平台、运行环境的全方位支持。最后,通过案例验证了平台各模块功能的可用性。
关键词:DevOps;边缘云;Docker;交叉编译
DOI:10.19850/j.cnki.2096-4706.2023.05.020
中图分类号:TP311.5 文献标识码:A 文章编号:2096-4706(2023)05-0085-05
Design and Implementation of Lightweight DevOps Platform for Edge Cloud
PENG Yong1,2, LAI Lanjian2, WANG Qi 1,2, GUO Xuanfeng1,2
(1.Science and Technology on Communication Information Security Control Laboratory, Jiaxing 314033, China; 2.The 36th Research Institute of CETC, Jiaxing 314033, China)
Abstract: In view of the contradictions between the limitations of edge cloud environments in some industries and the urgent need for new development techniques and agile development, this paper designs and implements a full-lifecycle DevOps platform, and has been successfully applied in a software development of a large-scale project. The platform integrates the DevOps process in an automated pipeline, and uses cross compilation technology to enable it to support both Windows and Linux software development. And the automatic deployment and operation and maintenance of software are realized in multiple environments such as physical machines, virtual machines and containers through Agent, so as to realize all-round support from architecture, development platform and operating environment. Finally, the availability of the functions of each module of the platform is verified through a case.
Keywords: DevOps; edge cloud; Docker; cross compilation
参考文献:
[1] 陈文驰 .Docker 下的持续集成系统的开发应用 [J]. 现代信息科技,2019,3(13):108-109+113.
[2] 张冬松,胡秀云,邬长安,等 . 面向 DevOps 的政务大数据分析可视化系统 [J]. 计算机技术与发展,2020,30(8):1-7.
[3] BALALAIE A,HEYDARNOORI A,JAMSHIDI P. Microservices Architecture Enables DevOps:Migration to a CloudNative Architecture [J].IEEE Software,2016,33(3):42-52.
[4] 辛园园,钮俊,谢志军,等 . 微服务体系结构实现框架综述 [J]. 计算机工程与应用,2018,54(19):10-17.
[5] 梁惠惠 . 对软件开发模式变迁的研究 [J]. 现代信息科技,2019,3(22):1-4+8.
[6] 姚锡凡,景轩,张剑铭,等.走向新工业革命的智能制造 [J].计算机集成制造系统,2020,26(9):2299-2320.
[7] 荣国平,张贺,邵栋,等 . 软件过程与管理方法综述 [J].软件学报,2019,30(1):62-79.
[8] 姜文,刘立康 . 应用软件项目的迭代开发与测试 [J]. 计算机技术与发展,2019,29(4):7-12.
[9] MAHBOOB J,COFFMAN J. A Kubernetes CI/CD Pipeline with Asylo as a Trusted Execution Environment Abstraction Framework [C]//2021 IEEE 11th Annual Computing and Communication Workshop and Conference(CCWC).NV:IEEE,2021:529-535.
[10] 丁海斌,崔隽,陆凯 . 基于 Docker 的 DevOps 系统设计与实现 [J]. 指挥信息系统与技术,2017,8(3):87-92.
作者简介:彭勇(1994—),男,汉族,安徽池州人,助理工程师,硕士,研究方向:云原生技术和平台软件相关;通讯作者:赖兰剑(1972—),男,汉族,江西赣州人,研究员,硕士,研究方向:系统总体与软件体系结构。