summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kadlcik <frostyx@email.cz>2017-11-14 14:18:58 +0100
committerMiroslav Suchý <msuchy@redhat.com>2017-12-04 15:28:13 +0100
commit02a558ce5343ba98f166575126a7c9ac68ae3e47 (patch)
tree8b53cc743c793bf0fb0dc79a18572114019bcdc1
parent124505f9cd7939e396d2523250d5af7728687809 (diff)
downloadansible-02a558ce5343ba98f166575126a7c9ac68ae3e47.zip
ansible-02a558ce5343ba98f166575126a7c9ac68ae3e47.tar.gz
ansible-02a558ce5343ba98f166575126a7c9ac68ae3e47.tar.xz
Not restrict to trusted repositories only
-rw-r--r--roles/copr/mbs/templates/config.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/roles/copr/mbs/templates/config.py b/roles/copr/mbs/templates/config.py
index f02e6a0..28f8921 100644
--- a/roles/copr/mbs/templates/config.py
+++ b/roles/copr/mbs/templates/config.py
@@ -21,12 +21,9 @@ class ProdConfiguration(base.ProdConfiguration):
KOJI_REPOSITORY_URL = 'https://kojipkgs.fedoraproject.org/repos'
PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'
- # When building from scmurl,
- # only such URLs that starts with some of these are allowed
- # Currently it is not possible to turn this feature off
- # and allow everything, so let's allow at least something
- SCMURLS = ["git://pkgs.stg.fedoraproject.org/modules/",
- "git://pkgs.fedoraproject.org/modules/"]
+ # Do not restrict to only trusted repositories, allow everything
+ SCMURLS = []
+ ALLOW_CUSTOM_SCMURLS = True
{% if env == 'staging' %}
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.dev', 'org.fedoraproject.stg']
@@ -47,7 +44,6 @@ class ProdConfiguration(base.ProdConfiguration):
# When MBS frontend runs on same machine as scheduler,
# it is fine to set this to localhost
SERVER_NAME = 'localhost'
- ALLOW_CUSTOM_SCMURLS = True
class DevConfiguration(base.DevConfiguration):