Verified Commit a37404f7 authored by Laurent Modolo's avatar Laurent Modolo
Browse files add

parent f501d0b1
# GitLab Runners
This repository contains scripts to launch GitLab Runners for your group.
Once configured, GitLab runners are called by the GitLab server to perform computations (package, building, test, etc) on you code, after each commit. Runners are not executed on the server but on remote computer accessible by the network.
This repository contains various scripts to initialise a GitLab Runner, to register it for your group with the GitLab server, and to launch it.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine
### Prerequisites
You need the registration token for your group from the GitLab server.
For this go to your group page, **settings**, **CI/CD** and **Runners settings**. For the LBMC group, this correspond to the following url :
Cloning this repository:
git clone
### Installing
First, we need to build a custom container of the gitlab-runner with the following command.
sudo mkdir -p /srv/gitlab-runner/config
This will build the `gitlab_runner` container with the certificate of the []( website installed.
This container, will be the process that register and manage the GitLab runners on your computer.
To run safely the runners themselves, we are going to instantiate new container, for each runners.
For example to have a runner for `R` development :
The `gitlab_runner` container will be able to launch a runner within the `r_dev:3.5.1` container.
## Registering a Runner
To register a runner you need to use the `*` scripts.
For a `r_dev:3.5.1` runner, edit the `` file to add your group token.
Specify the tag and the name of the runner and register it with the following command:
You can check the runners registered in the **CI/CD** settings of your group.
## Launching your Runners
To launch your runners execute the following command:
To check the GitLab runner status:
docker ps
## Sopping your Runners
To stop your runners, execute the following command:
## Contributing
Please read []( for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
We use [SemVer]( for versioning. For the versions available, see the [tags on this repository](
## Authors
* **Laurent Modolo** - *Initial work*
See also the list of [contributors]( who participated in this project.
## License
This project is licensed under the CeCiLL License- see the [LICENSE](LICENSE) file for details
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment