add repository filter option
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2021-01-15 11:15:15 +01:00
parent 4de260c357
commit d7db89e398
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 9 additions and 0 deletions

View File

@ -88,6 +88,12 @@ droneci_gitea_skip_verify: False
# @var droneci_github_client_id: $ "_unset_"
# @var droneci_github_client_secret: $ "_unset_"
# @var droneci_repository_filter:description: >
# Optional comma-separated list of accounts, used to limit which repositories are
# syncronized between your source control management system and Drone.
# @end
droneci_repository_filter: []
droneci_user_filter: []
# @var droneci_admin_user: $ "_unset_"
# @var droneci_http_proxy: $ "_unset_"

View File

@ -41,6 +41,9 @@ services:
{% if droneci_user_filter is defined and droneci_user_filter | length > 0 %}
- DRONE_USER_FILTER={{ droneci_user_filter | join(",") }}
{% endif %}
{% if droneci_repository_filter is defined and droneci_repository_filter | length > 0 %}
- DRONE_REPOSITORY_FILTER={{ droneci_repository_filter }}
{% end %}
- DRONE_LOGS_COLOR=true
- DRONE_LOGS_PRETTY=true
- DRONE_TLS_AUTOCERT=false