Skip to content

CVLRO/ragemp-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

GitlabCI Configuration for RageMP server (without build)

How to run :

  1. Install gitlab runner from https://docs.gitlab.com/runner/ on your linux server and configure it with shell executor on your repo
  2. 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"
  3. 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.

About

RageMP GitlabCI config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published