[koji-builder] Add new policy for abrt-java-connector - staging
This will allow abrt-java-connector to be built directly from the fork. For now only allowed on staging to test first. See https://pagure.io/fedora-infrastructure/issue/9728 Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
3a73ef0d6d
commit
6e6f1a28d6
1 changed files with 9 additions and 0 deletions
|
@ -197,3 +197,12 @@ sidetag =
|
|||
tag epel8-build :: allow
|
||||
tag epel7-build :: allow
|
||||
all :: deny
|
||||
|
||||
{% if env == "staging" %}
|
||||
# Policy for building scratch builds
|
||||
build_from_scm =
|
||||
# allow scratch build for anything from anywhere
|
||||
bool scratch :: allow
|
||||
# allow to build from forks
|
||||
match scm_type GIT GIT+SSH && match scm_host src.fedoraproject.org/forks/* :: allow
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue