基于Docker的前端发布平台的设计与实现
发布时间:2018-05-07 04:22
本文选题:Docker + 容器 ; 参考:《武汉邮电科学研究院》2016年硕士论文
【摘要】:随着近年来互联网的飞速发展以及接入互联网的用户飞速增长,每日网络资源被访问的数量是巨大的,而且随着用户的需求增加,页面资源的更新的数量也是急剧增长的。互联网的高速发展一方面人们享受互联网带来的便利与多样性,另一方面也使得各互联网公司的前端代码的开发量也在增大,大量的前端编译工作给企业的发展带来了更多的挑战。结合在集团前端业务的发布中存在的前端开发人员任务繁重、集团内前端构建种类繁多、前端资源发布流程复杂等问题,本文主要研究了前端发布平台的整个研发流程。分析目前已有的集群编译系统,从多用户角度分析需求,设计出满足代码资源统一接入,管理界面交互良好、满足高并发、高可靠性的前端资源发布平台。本平台使用最近年来兴起的Docker容器技术作为编译集群的管理和编译环境的基础,使用Gitlab进行前端资源的代码管理,根据Ruby On Rails框架开发出系统管理web应用实现前端发布平台的用户交互、项目管理、提交管理、编译机管理、编译管理等管理功能。使用ruby开发前端资源构建执行脚本和docker集群的管理系统,分别完成编译构建任务的执行和Docker容器的自动检测、启动、删除等操作。本平台分两部分实现:首先是前端发布平台的系统管理平台部分,系统管理平台是使用Ruby On Rails框架开发的web应用主要实现代码工程接入、代码权限管理、编译机管理、编译管理等功能;其次是编译机集群部分,编译机集群使用的Docker容器技术进行编译构建环境的创建以及Docker容器集群的管理。通过两部分的结合,实现了一个接入简单、规范化编译构建流程、自动编译构建、能满足前端编译任务的高并发高可靠性的统一前端发布系统。满足了集团前端资源编译构建规范化、减少了前端开发人员的工作量、自动化快速编译构建、构建信息及时反馈的业务需求。
[Abstract]:With the rapid development of the Internet in recent years and the rapid growth of Internet users, the number of daily network resources visited is huge, and with the increasing demand of users, the number of page resources updating is also increasing rapidly. With the rapid development of the Internet, on the one hand, people enjoy the convenience and diversity brought by the Internet, on the other hand, the amount of front-end code development of various Internet companies is also increasing. A large number of front-end compilation work has brought more challenges to the development of enterprises. This paper mainly studies the whole research and development process of the front-end release platform, combining with the heavy task of front-end developers, the variety of front-end construction, the complexity of front-end resource release process and so on. By analyzing the existing cluster compiling system and analyzing the demand from the point of view of multi-user, a front-end resource publishing platform is designed to meet the requirements of unified access of code resources, good interaction of management interface, high concurrency and high reliability. This platform uses Docker container technology, which has emerged in recent years, as the foundation of compiling cluster management and compilation environment, and uses Gitlab to manage the code of front-end resources. According to the framework of Ruby on Rails, the system management web application is developed to realize the user interaction, project management, submission management, compiler management, compilation management and other management functions of the front-end publishing platform. Using ruby to develop front-end resources to build execution script and docker cluster management system, to complete the execution of compile and build task and the automatic detection, start and delete of Docker container respectively. This platform is divided into two parts: first, the system management platform of the front-end publishing platform, which is developed with Ruby on Rails framework, mainly realizes code engineering access, code authority management, compiler management. The second part is the cluster of compilers, the Docker container technology used in the cluster of compilers to build the environment and the management of the cluster of Docker containers. Through the combination of the two parts, a unified front-end publishing system with high concurrency and high reliability can be realized, which has the advantages of simple access, standardized compilation and construction flow, automatic compilation and construction. It satisfies the standardization of compilation and construction of group front-end resources, reduces the workload of front-end developers, automates the rapid compilation and construction, and constructs the business requirements of timely feedback of information.
【学位授予单位】:武汉邮电科学研究院
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.52
【参考文献】
相关期刊论文 前7条
1 何震苇;严丽云;李慧云;张凌;陆钢;;基于开源PaaS技术的互联网业务平台自动部署方案[J];电信科学;2015年10期
2 张忠琳;黄炳良;;基于openstack云平台的docker应用[J];软件;2014年11期
3 肖e,
本文编号:1855396
本文链接:https://www.wllwen.com/guanlilunwen/xiangmuguanli/1855396.html