gitlab_runner: Remove s3 cache enabled flag

This commit is contained in:
saibotk 2020-12-16 15:32:50 +01:00
parent ff168736d2
commit ab86dee61d
No known key found for this signature in database
GPG key ID: A3299C587D5DF523
3 changed files with 8 additions and 8 deletions

View file

@ -37,7 +37,7 @@ gitlabrunner_runners:
# The token that you received when registering the runner (not the register token!!!) # 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 # 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>"` # 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: gitlab_token: "ENTER_YOUR_TOKEN_HERE"
# Adjust the name of the runner # Adjust the name of the runner
name: "hetzner-docker-auto-scale" name: "hetzner-docker-auto-scale"

View file

@ -41,6 +41,7 @@ gitlabrunner_concurrent: 1
# The interval in seconds, to check for available jobs. (0 means default value is used. See https://docs.gitlab.com/runner/configuration/advanced-configuration.html#how-check_interval-works) # The interval in seconds, to check for available jobs. (0 means default value is used. See https://docs.gitlab.com/runner/configuration/advanced-configuration.html#how-check_interval-works)
gitlabrunner_check_interval: 0 gitlabrunner_check_interval: 0
# This is used to define all the runners, that may be served by this gitlab-runner
gitlabrunner_runners: gitlabrunner_runners:
# The URL of the instance that this runner should be associated with # The URL of the instance that this runner should be associated with
- gitlab_url: https://gitlab.example.com - gitlab_url: https://gitlab.example.com
@ -87,9 +88,8 @@ gitlabrunner_runners:
hetzner-server-location: "fsn1" # The server location to use for a new machine hetzner-server-location: "fsn1" # The server location to use for a new machine
# S3 Runner cache configuration to improve performance between runs (see https://docs.gitlab.com/runner/configuration/autoscale.html#distributed-runners-caching) # S3 Runner cache configuration to improve performance between runs (see https://docs.gitlab.com/runner/configuration/autoscale.html#distributed-runners-caching)
cache_s3: # cache_s3:
enabled: false # server: s3.example.com
server: s3.example.com # access_key: ""
access_key: "" # secret_key: ""
secret_key: "" # bucket: "runner"
bucket: "runner"

View file

@ -50,7 +50,7 @@ check_interval = {{ gitlabrunner_check_interval }}
] ]
{% endif %} {% endif %}
[runners.cache] [runners.cache]
{% if gitlabrunner.cache_s3.enabled %} {% if gitlabrunner.cache_s3 %}
Type = "s3" Type = "s3"
Shared = false Shared = false
[runners.cache.s3] [runners.cache.s3]