xoxys.renovate_bot/templates/etc/sysconfig/renovate.j2
Robert Kaussow b811143e9c
All checks were successful
continuous-integration/drone/push Build is passing
add onboarding config
2020-10-17 11:44:18 +02:00

22 lines
785 B
Django/Jinja

#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
{% if renovatebot_github_token is defined %}
GITHUB_COM_TOKEN={{ renovatebot_github_token }}
{% endif %}
RENOVATE_ENDPOINT={{ renovatebot_endpoint }}
RENOVATE_GIT_AUTHOR={{ renovatebot_git_author }}
RENOVATE_PLATFORM={{ renovatebot_platform }}
RENOVATE_TOKEN={{ renovatebot_token }}
RENOVATE_AUTODISCOVER={{ renovatebot_autodiscover | bool | lower }}
{% if renovatebot_autodiscover | bool %}
{% if renovatebot_autodiscover_filter is defined %}
RENOVATE_AUTODISCOVER_FILTER={{ renovatebot_autodiscover_filter }}
{% endif %}
{% elif renovatebot_repositories | length > 0 %}
RENOVATE_REPOSITORIES={{ renovatebot_repositories | join(",") }}
{% endif %}
RENOVATE_ONBOARDING_CONFIG={{ renovatebot_onboarding_config | to_json }}