5/5 - (2 votes)

The application source code is located in the GIT repository. The assembly and testing is carried out by means of Jenkins tools. If the test is successfully completed, the task to create the Docker container is started.

The Docker configuration of the assembly container is also located in the GIT, in a separate repository. After the container is assembled, it is assigned a tag with the application version. Then the container is unloaded into the individual registry of Docker images.

The use of such method allows you accelerate the process of deploying a new version to the greatest possible extent, because the server is already running the ready-made container from the registry.

Automatic deployment of the new version is carried out through the control system API by means of Docker containers (Rancher, Kubernetes).