Answer the question
In order to leave comments, you need to log in
How to set up gitlab ci + vds?
Good day to all, the task of automating deployment and testing has appeared, just below the essence of the task:
There is a rented VDS, an application on next.js is on it, the source code of the application itself is in the gitlab repository. It is necessary to automate the deployment of the project when merging into the master, that is, so that the build starts, tests pass, and the project is rebuilt on vds. Plus, you need reverse proxying to nginx, which will be running on the same vds. I read a lot of articles, but I still couldn’t figure out how to do it correctly, I hope that I can find a person who will either give an answer or suggest suitable materials on setting up such environments.
Answer the question
In order to leave comments, you need to log in
To do this, you need to install gitlab-runner on vds, link it to gitlab via gitlab-runner register. On gitlab, already describe what you need in the ci / cd yml file.
Simple answer:
- Put gitlab-runner on vds
- Write .gitlab-ci.yml configuration for project
But since you:
Then I think you should hire a consultant.
Because your question is set in such a way that it looks like you are asking to write a serious tutorial.
Take any system, put gitlab on it, set up gitlab, write .gitlab-ci.yml in the project.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question