a sysAdmin), and I have a question.
When I use a CI tool like bitbucket pipelines, or gitlab CI, I understand that it builds, and run the tests in a docker image that is on the cloud. After everything is executed successfully, then the commit is finally pushed to the repository, and only then one can pull that commit manually into the staging server.
Is it like this?
CI is to build artifact that will be deployed for testing. no need to pull anything. once that testing is complete and you are happy with the artifact, the same artifact can be deployed to production
So this means I shouldn't need a staging server (in case of cloud based tools like gitlab CI and bitbucket pipelines), but only a production server. So when the build and test succeeds on the cloud, I'll deploy it manually to the target server.
Обсуждают сегодня