BitBucket - pushing code to production and production servers

I am currently transitioning from SVN to GIT, especially BitBucket for our repos.

I saw several articles via Google telling about how to configure githooks / BitBucket services to automatically push BitBucket to remote servers. and if I read it all correctly, the whole point is to automatically push these updates to remote servers.

I want to be able to control push on our remote servers, especially on the production server, because we want to control when changes are made, and not assume that everything that has been done is ready for production.

I am missing a plot and something obvious in how to do this? My goal would be to virtually eliminate the need for FTP access to intermediate and production servers for other team members, but still let the code push them in a controlled way.

+6
source share
1 answer

Take a look at this post:

http://lkwdwrd.com/git-auto-deployment/

This is not your actual requirement. But with a little effort with PHP, you can make your choice selective.

The expected solution will store each payload in the database as a queue and deploy full queue boot files (and an empty queue) if necessary.

+2
source

Source: https://habr.com/ru/post/945609/


All Articles