How to run :
- Install gitlab runner from https://docs.gitlab.com/runner/ on your linux server and configure it with shell executor on your repo
- Add gitlab-runner to sudoers and make it passwordless :
sudo usermod -a -G sudo gitlab-runner && sudo sh -c "echo \"gitlab-runner ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers"
- Add server/.gitlab-ci.yml to your gitlab repository
The configuration will automatically register a systemd service so you can use service ragemp start/stop/status/restart and restart your server automatically if it crashes. (you can also set the service name to a custom one)
This is only a deployment script, the build and test stages are left to you because it will differ from server to server.
There will be also a build system for client_packages for npm soon.