gitlab_runner: Update example

This commit is contained in:
saibotk 2020-12-16 14:58:48 +01:00
parent 301061753f
commit ff168736d2
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

@ -31,8 +31,16 @@ gitlabrunner_extra_paths:
- "{{ gitlabrunner_install_location }}/hetzner_machine"
gitlabrunner_runners:
# The URL of the instance that this runner should be associated with
- gitlab_url: https://gitlab.example.com
# The token that you received when registering the runner (not the register token!!!)
# Register a runner first to obtain a token: https://docs.gitlab.com/runner/register/index.html#docker
# Can be done via the API and the registration token: eg. `curl --request POST "https://gitlab.example.com/api/v4/runners" --form "token=<registration_token>"`
gitlab_token:
# Adjust the name of the runner
- name: "hetzner-docker-auto-scale"
name: "hetzner-docker-auto-scale"
# Set the docker executor
executor: "docker+machine"