Commit 072e2288 authored by Florian Hindenlang's avatar Florian Hindenlang
Browse files

readme update [CI skip]

parent 888bdd44
Pipeline #12042 skipped
......@@ -7,24 +7,25 @@ You find the branches `testlevel*` with increasing test complexity in the scri
Important things:
- Explanations of the YAML syntax of the file **.gitlab-ci.yml** [found here](https://docs.gitlab.com/ce/ci/yaml)
- Installation of a local runner [found here](https://docs.gitlab.com/runner/install/) be sure to install the version <= 1.11.4
`sudo apt-get install gitlab-ci-multi-runner=1.11.4`
since the mpcdf gitlab version is 8.17
- commits to not check: add `[CI skip]` in the commit message
Setu a local runner:
After installation of the runner, execute **in your home directory**
`gitlab-runner register`
follow the steps and then start the runner
`gitlab-runner run`
## Setup a local runner:
- Installation of a local runner [found here](https://docs.gitlab.com/runner/install/) be sure to install the version <= 1.11.4
`sudo apt-get install gitlab-ci-multi-runner=1.11.4`
since the mpcdf gitlab version is 8.17
- After installation of the runner, execute **in your home directory**
gitlab-runner register
follow the steps with the url and token given on the `Settings->CI/CD pipeline` of your project on the gitlab page
- then start the runner
gitlab-runner run
You should see the runner on the gitlab page `Settings->CI/CD pipeline`
## Tags:
Tags only make sence if there are multiple runners.
Tags only make sense if there are multiple runners.
They allow to choose on which runner the job will be executed.
**You don't need tags if you have only one runner!**
If the runner can run untagged jobs, you would not need tags, but we recommend to use at least one tag for the job, corresponding to the tag(s) of the runner.
The tags are used to select a specific runner. Note the following:
1. Each job is assigned to only **one** runner!
......
Markdown is supported
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