mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-11 17:14:59 +08:00
Use prod services in BaseConfiguration and staging in TestConfiguration.
This commit is contained in:
@@ -30,13 +30,13 @@ class BaseConfiguration(object):
|
||||
KOJI_PROFILE = 'koji'
|
||||
KOJI_ARCHES = ['i686', 'armv7hl', 'x86_64']
|
||||
KOJI_PROXYUSER = True
|
||||
KOJI_REPOSITORY_URL = 'https://kojipkgs.stg.fedoraproject.org/repos'
|
||||
KOJI_REPOSITORY_URL = 'https://kojipkgs.fedoraproject.org/repos'
|
||||
KOJI_TAG_PREFIXES = ['module']
|
||||
COPR_CONFIG = '/etc/module-build-service/copr.conf'
|
||||
PDC_URL = 'http://modularity.fedorainfracloud.org:8080/rest_api/v1'
|
||||
PDC_URL = 'http://pdc.fedoraproject.org/rest_api/v1'
|
||||
PDC_INSECURE = True
|
||||
PDC_DEVELOP = True
|
||||
SCMURLS = ["git://pkgs.stg.fedoraproject.org/modules/"]
|
||||
SCMURLS = ["git://pkgs.fedoraproject.org/modules/"]
|
||||
YAML_SUBMIT_ALLOWED = False
|
||||
|
||||
# How often should we resort to polling, in seconds
|
||||
@@ -60,7 +60,7 @@ class BaseConfiguration(object):
|
||||
SSL_CERTIFICATE_KEY_FILE = '/etc/module-build-service/server.key'
|
||||
SSL_CA_CERTIFICATE_FILE = '/etc/module-build-service/cacert.pem'
|
||||
|
||||
PKGDB_API_URL = 'https://admin.stg.fedoraproject.org/pkgdb/api'
|
||||
PKGDB_API_URL = 'https://admin.fedoraproject.org/pkgdb/api'
|
||||
|
||||
ALLOWED_GROUPS = set([
|
||||
'packager',
|
||||
@@ -158,6 +158,10 @@ class TestConfiguration(BaseConfiguration):
|
||||
KOJI_PROFILE = 'staging'
|
||||
SERVER_NAME = 'localhost'
|
||||
|
||||
KOJI_REPOSITORY_URL = 'https://kojipkgs.stg.fedoraproject.org/repos'
|
||||
SCMURLS = ["git://pkgs.stg.fedoraproject.org/modules/"]
|
||||
PKGDB_API_URL = 'https://admin.stg.fedoraproject.org/pkgdb/api'
|
||||
|
||||
|
||||
class ProdConfiguration(BaseConfiguration):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user