当前位置:网站首页>Silicon Valley classroom lesson 15 - Tencent cloud deployment
Silicon Valley classroom lesson 15 - Tencent cloud deployment
2022-07-25 09:08:00 【Office template library material frog】
Silicon Valley class day 16 - Tencent cloud deployment
List of articles
- Silicon Valley class day 16 - Tencent cloud deployment
- One 、 Project deployment plan
- Two 、 Tencent cloud CODING DevOps summary
- 3、 ... and 、 Opening CODING DevOps
- Four 、 Use CODING DevOps
One 、 Project deployment plan
1、 Original deployment method

2、 Integrate Jenkins
complete DevOps Examples are as follows :

3、 Integrate CODING
Integrate CODING Realization DevOps
https://console.cloud.tencent.com/coding/container-devops
Two 、 Tencent cloud CODING DevOps summary
Tencent cloud uses documents :
https://help.coding.net/docs/start/new.html
1、 Product Brief
DevOps yes Development and Operations The combination of the words , It stands for valuing 「 Software developer (Dev)」 and 「IT Operation and maintenance technicians (Ops)」 Communication and cooperation between cultures ; It's about automation 「 Software delivery 」 and 「 Architectural change 」 The process of , Make build 、 test 、 The process of publishing software can be faster 、 Frequent and reliable .Gartner The consulting firm believes that DevOps On behalf of IT The changing trend of culture .

1.1、CODING DevOps What is it?
CODING DevOps It is a one-stop R & D collaboration management platform for software R & D teams , Provide from requirements to design 、 Development 、 structure 、 test 、 The whole process collaboration and R & D tool support released to deployment .CODING The solution can help enterprises achieve unified security control of code , And quickly practice agile development and DevOps, Improve the quality and speed of software delivery , Reduce the cost of R & D , Achieve R & D efficiency upgrade .

1.2、CODING DevOps advantage
One stop collaboration platform and R & D tool chain , Improve R & D Efficiency
CODING Combine with the advantages of cloud , Rely on industry agile project management and DevOps Integrate system methods into products , Break through the isolated island of tool chain and cooperation barriers in the process of R & D , Covering the whole life cycle of agile development , Help the team achieve their needs 、 iteration 、 Development 、 test 、 Continuous integration 、 Continuously deploy all-round R & D management , Improve the efficiency of software research and development .
Support the construction of dual state R & D system , Meet diversified business needs
CODING It is suitable for development teams of different sizes and different types of software development models ( Like the waterfall model 、 Agile model ), Meet the collaboration needs of multiple business scenarios .
Project workflow and measurement data visualization , Project management is easier
CODING Provide visual Kanban , Support for code 、 Project progress 、 Output detailed data reports from different dimensions such as personnel workload , Provide decision-making basis for team managers , Adjust the project plan and reasonably arrange the R & D manpower .
Rich scalability , Seamlessly integrate third-party platforms
CODING Support seamless integration GitHub、GitLab And other third-party code bases, as well as various common operation and maintenance systems and cloud native environments , Let users realize seamless migration across platforms .
1.3、CODING DevOps features
CODING DevOps The platform mainly provides the following features :
Team level functions :
- Team management : Team administrators use visual The dashboard Can quickly grasp the work data of team members 、 Monitor the operation status of the project ; adopt Team goals Help team members focus on organizational goals , Comprehensive collaborative implementation , Gather the fighting power of the team , Let the strategy be firmly implemented ; utilize The workload Check and compare the workload and work arrangement of the members in a unified way ; utilize R & D metrics Count and analyze the distribution of team members' matters over a period of time 、 Overview 、 Code distribution and other data , Measure the workload and work dynamics of team members in the cycle .
Project level functions :
- Project collaboration : The software development team is free to choose the appropriate R & D management mode , Support multi project management 、 Agile iteration management 、 demand management 、 Defect tracking 、 Multi dimensional report data and other functions .
- Code warehouse : Provide enterprise class Git/SVN Code management services , Support refined permission control 、 Multi branch parallel development 、 Multi version management and other functions .
- Code scanning : Provide code scanning solutions for different programming languages , Support scanning rules 、 Custom configuration of measurement rules . According to the code scanning test results , Developers can find code defects in time and make corrections , Effectively control code quality .
- Continuous integration : Provide cloud based automated code building 、 test 、 Analyze and deploy workflow services , Support the rapid creation and visual arrangement of construction tasks through templates , Greatly improve the construction efficiency of the software development team .
- Continuous deployment : Provide fully automated software deployment , sustainable 、 Controllably publish software products online to service clusters , Support blue-green distribution 、 Grayscale Publishing ( Release of canary ) And other release strategies .
- Product management : Provide cloud build product management services , Support cloud build and local build push , Archive structures can be quickly indexed 、 Version control .
- Test management : Provide a one-stop cloud testing platform for Agile Teams , Support visual test planning and multi-dimensional test reports , Meet the diverse needs of agile teams for the testing process .
- Document management : Provide flexible and easy-to-use document management services , It can be used to record the whole project , Show current project status , It also allows project members to better document and collaborate .

2、 Use process overview
The following flowchart shows CODING DevOps Basic operation process of software development platform , You can read selectively according to your actual needs .


2.1. Create or join a team
To start using CODING DevOps, You need to register to create or accept the invitation before joining a team .

2.2. New projects
After joining the team , You can create projects within the team or be invited to join other projects .“ project ” It is the core unit , Almost most of the work needs to be carried out in the project .

2.3. Start project collaboration
After the project is created , project manager 、 Development 、 Different project roles such as testing can realize simple and efficient project collaboration through project collaboration , Including iteration management 、 demand management 、 Task management, etc .

2.4. Use a code warehouse
After completing the project planning , Code warehouse can be used to manage project code . This function provides enterprise level based Git Cloud code management service , Support refined permission control 、 Multi branch parallel development 、 Multi version management and other functions .

2.5. Start code scanning
For the use of CODING Code warehouse management code , Developers can use the code scanning function to check the code , So that code defects can be found and corrected in time , Effectively control code quality .

2.6. Compiling and constructing
After the project code development is completed , Build tasks can be quickly created through continuous integration , Compile and package the project code into software packages .

2.7. Manage products
After you build the project code , You can use the artifact management function to manage build products .CODING Support multiple product library types , Include Docker、Maven、Helm and npm.

2.8. Implement continuous deployment
When your project code has been built , Continuous deployment can be used to control the release and deployment of the built project to the production environment .

2.9. Manage test cases
When you are in CODING After the platform creates the project , You can use the test management function for agile team to manage the test activities within the project , Ensure the high-quality delivery of products .

2.10. Manage project documentation
In progress , It is bound to produce a lot of information , And these information needs to be recorded 、 Pass on 、 Share . The document management function provides flexible and easy-to-use document management services , It can be used to record the whole project .
3、 ... and 、 Opening CODING DevOps
1、 Search for CODING DevOps
(1) Tencent cloud search CODING-DevOps

(2) Enter interface

2、 Open account
(1) There is no account for the first time , Go to open

(2) Product Authorization


(3) Input information , Mailbox validation

3、 Create a team
(1) Enter the team name to submit

(2) Successful opening

(3) Click use now , Get into

(4) Enter the worktable

Four 、 Use CODING DevOps
1、 Create project
stay CODING DevOps After the establishment of the platform team , Team members can create projects as needed . Only after the project is created , Project members can use Project collaboration 、 Code warehouse 、 Continuous integration 、 Continuous deployment And so on .
1.1、 Click create project

1.2、 Select project template

1.3、 Fill in the basic information of the project

1.4、 Finish creating

2、 Project collaboration
2.1、 Project collaboration initialization
(1) Go to initialization

(2) Configure and enable project collaboration
Choose classic project management


2.2、 Specific implementation of project collaboration

(1) Click on the upper right corner to create an iteration

(2) Fill in the iteration information

(3) Click create and plan , Create requirements

(4) Click for details

(5) Set iteration details

(6) effect

3、 Code warehouse
3.1、 Add warehouse

(1) Fill in the warehouse information

(2) Cloning of warehouse
Click clone
3.2、 Clone code repository to local
(1) stay Git Enter the clone command in the client
git clone < The code warehouse address you cloned >
After the first pull, you will be prompted to fill in the credentials , Fill in the registration here CODING The mailbox and password used when

After the command prompt is successful , You can make code changes in the local code warehouse .

3.3、 Push local code to CODING Warehouse
(1) stay Git client , Run the following three commands to push the code to CODING Code warehouse on the platform
git add .
git commit -m "< Your comments on this submission >"
git push git Warehouse address
(2) Create submission

(3) Get into cmd Window execution

(4) Check all submissions 
3.4、 Push the project to the code warehouse
(1) Copy two files to the project directory


(2) Project path cmd Window execution



(3) See the effect

4、 Continuous integration
4.1、 Create a build plan

4.2、 Choose the type

4.3、 Set build information




4.4、 Modify process configuration
According to the specific needs , Customize the execution process

4.5、 Build immediately

4.6、 Build complete

5、 Continuous deployment ( Bind cloud accounts )
5.1、 Enter the account name

5.2、 Create clusters , Open Internet ip
(1) Create clusters
Create a cluster in the container service


(2) Open Internet


5.3、 Copy voucher
(1) Copy cluster credentials 

(2) Copy to cloud account
6、 Continuous deployment (Kubernetes)

6.1、 Create deployment

6.2、 Cluster configuration
6.2.1、 Cluster configuration

6.2.2、 Image configuration
1、 Select the sample image for test use
2、 You can choose CODING Docker The image created by yourself in the warehouse


6.2.3、 Application deployment

6.3、 Waiting for release


6.4、 Get the publishing address



6.5、 Access test

7、 Continuous deployment ( Tencent cloud is elastic )
7.1、 Create an
(1) Create an application in the deployment console , Choose Tencent cloud elastic scaling

7.2、 Create a process
(1) Click create process

(2) Choose the process

(3) Modify the process content

7.3、 Start execution

7.4、 Cluster view
(1) After successful execution , View in cluster

Picture transfer in progress …(img-a4tIOcAl-1658202089943)]
7、 Continuous deployment ( Tencent cloud is elastic )
7.1、 Create an
(1) Create an application in the deployment console , Choose Tencent cloud elastic scaling
[ Outside the chain picture transfer in …(img-3uiemAuB-1658202089945)]
7.2、 Create a process
(1) Click create process
[ Outside the chain picture transfer in …(img-2qY6HlG9-1658202089947)]
(2) Choose the process
[ Outside the chain picture transfer in …(img-cpq2tvrJ-1658202089950)]
(3) Modify the process content
[ Outside the chain picture transfer in …(img-Bw0OFK7C-1658202089951)]
7.3、 Start execution
[ Outside the chain picture transfer in …(img-2QYmzSGN-1658202089952)]
7.4、 Cluster view
(1) After successful execution , View in cluster
[ Outside the chain picture transfer in …(img-uxSN4TXu-1658202089953)]
边栏推荐
- 28.插槽
- (self drawn ugly picture) simple understanding tcp/ip three handshakes and four waves
- [STL]stack&queue模拟实现
- Comments on specific applications of camera
- Cool canvas animation shock wave JS special effect
- How to choose a low code software development platform?
- Ctfhub skill tree Web
- Unity HTC vive use
- js小游戏源码魔塔闯关下载
- Illustration leetcode - 919. Complete binary tree inserter (difficulty: medium)
猜你喜欢

canvas很多圆圈组成的文本js特效

OpenCV实现简单的人脸追踪

Illustration leetcode - 919. Complete binary tree inserter (difficulty: medium)

Wechat sports ground reservation applet graduation design of applet completion works (2) applet function

When crontab scheduled task executes jar through script, it encounters a pit where jar package execution is invalid

Overview of redis/mysql knowledge

360度拖拽全景图插件tpanorama.js

Graduation project of wechat small program ordering system of small program completion works (7) Interim inspection report

Wechat reservation applet graduation design of applet completion works (1) development outline

Wechat reservation applet graduation design of applet completion works (3) background function
随机推荐
The international summit osdi included Taobao system papers for the first time, and end cloud collaborative intelligence was recommended by the keynote speech of the conference
CIR industrial automation radar
JDBC的API解析
How to write the code of wechat applet implementation tab
整理 华为AP-3010DN_V2配置创建wifi
JDBC的api全解
酷炫canvas动画冲击波js特效
API parsing of JDBC
read
51 MCU peripherals: Motor
Feiling ok1028a core board adapts to rtl8192cu WiFi module
How to do the game plug-in?
[learn rust together] a preliminary understanding of rust package management tool cargo
The simplest sklearn environment configuration tutorial in the whole network (100% success)
How to avoid duplicate data when the database is high and distributed
JDBC quick start
Canvas text JS special effect composed of many circles
JS pop-up City filtering component matches mobile terminal
Solving a random number problem
How to connect tdengine with idea database tool?