Problems with the git server

Local development environment
Test server naked warehouse push will automatically deploy the code to the test environment directory
online server

now push is developed locally to the test server
does the test server need to manually enter the test server to push the code to the online server?

will a naked warehouse be created in the online environment server push from the project directory of the test environment to the online environment or directly from the local push to the online environment after testing?

Git
Sep.21,2021

this should belong to the "continuous delivery / continuous deployment" section of software engineering (Agile), which you can search for yourself. In practice, there are generally ready-made automation tools, such as jenkins and ansible, which are relatively common (multi-platform), or things like Aliyun's continuous delivery platform (CRP), which can be used to visualize the process (there are many similar platforms, so I won't go into detail). You can automate this process (the test server is automatically triggered to pull and deploy after the development machine push is transferred to the git server. Or you can trigger the online environment pull code by adding Tag or merging into master. Of course, you may have to do it manually, like you said, pull the code and then go to the online environment.


Local (dev)-> after the test (dev), passes, the local (alpha merge dev)-> pre-released (alpha), does not change the code except the local environment, and only pull does not push, testing different configuration files cannot be placed in the code base.

Menu