gitlab_runner: Update example
This commit is contained in:
parent
301061753f
commit
ff168736d2
1 changed files with 9 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue