Merge branch 'fix-s3-cache' into 'master'

gitlab_runner: check if cache_s3 is defined

See merge request saibotk.de/infrastructure!152
This commit is contained in:
Saibotk 2021-03-30 14:01:42 +00:00
commit dc0510952c

View file

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