N
N
noway2016-03-29 10:35:25
PHP
noway, 2016-03-29 10:35:25

Delivery of the project to production, what tools for deployment?

Hello!
I am planning to build infrastructure for deploying a large web application. I plan to use Gitlab CI as a repository for rap and CI.
I can not decide how to deliver the application to the prod. What are the best tools to use here? RPM to collect and then on the sale to be updated through the package manager?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-03-29
Protko @Fesor

docker
we build a container on a CI container, run tests on it (you said that the project is big, a big project without tests is a pain), if everything is fine, we push to the docker hub or to your local docker distribution, after which you can simply do it on the server docker-compose pull && docker-compose up -d and be happy.

R
Roman Akhmadullin, 2016-03-29
@saggid

There is a very simple and convenient deployment utility Deployer . You create a script either on the server or directly on your local machine, which describes the steps to be taken during deployment.
Deployer creates release folders in the working directory. If, for example, your site is already working based on one of the latest commits, then before moving to the next version of the code, Deployer will create a new release folder and deploy your application there. If all the deployment steps you describe are successful, Deployer will switch your application to the new version.
At the same time, you can always roll back to the previous release with just one command. In general, very comfortable) I like it. And it turns out almost-zero-downtime update.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question