Font Size: a A A

Web-based Docker Continuously Integrates Deployment Design And Implementation

Posted on:2021-03-25Degree:MasterType:Thesis
Country:ChinaCandidate:H W HeFull Text:PDF
GTID:2518306047988609Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the development of the Internet,the user requirements are becoming more and more complex,and too much services need to be provided to users instantly.How to provide users with higher-quality services more quickly becomes critical.After the user requirements are clearly defined,multiple user services need to be efficiently deployed,while making those services more iterable quickly and easy to maintain.All of this become an urgent problem to software developers.In response to the above problem,this article implements a web-based Docker continuous integration deployment solution.This solution is guided by the common requirements of software developers and service deployers.With the help of Continuous Integration(CI)and Continuous Delivery & Deploy(CD),this solution use a Single Page Application(SPA)as GUI to collect the deployment service information,And Docker to complete the automated construction and deployment of services,greatly improving software development efficiency and shortening service deployment Time and reduce the maintenance complexity of deployment services,reducing software development costs.The works of this paper are listed as following:(1)Requirements analysis and design.According to the requirements of software developers and service deployers,clear define the goal,analyze and design them as four key modules: source code storage module,continuous integration deployment module,Node.js task processing scheduling module,and user Web operation module including the meaning of each module,the tasks to be undertaken and the links between the modules.Adopt UML to describe the interaction process between the two users and the whole solution,and the functions provided to different users.(2)Implementation of the solution.Draw a diagram of the overall logical architecture of the solution,and explain the data communication,data flow,data display,and sub-functions that need to be included in the scheme in layers.Flowcharts and sequence diagrams are used to describe the programming process according to the divided key modules.The functions need to be provided to sort out the corresponding REST API to connect the modules.Separate the front end and back end to build the SPA and provide it to the service deployers,to implement the automatic construction and deployment of the service,and to display the running logs in the Docker container of the continuous integration process in the SPA.(3)Tests and practice analysis.After completing the coding of the whole solution and the design of test cases,deploy the corresponding test environment,perform detailed functional tests on the functions of key modules according to the test cases,and record whether the defined goals have been reached.Statistic and analyze the impact of this solution on the teams existing software development process after going online in practice.After testing,the functional logic of the four key modules is processed correctly,and can work normally and match the design goals of the scheme.After the system is launched,each function runs normally,and the SPA components are displayed correctly,which can meet the requirements of software developers and service deployers.In summary,Web-based Docker continuous integration deployment meets user requirements with low service maintenance complexity,automated service deployment,and efficient deployment with low system resource consumption.
Keywords/Search Tags:Docker, CI, CD, SPA
PDF Full Text Request
Related items