message-tagging-service: disable dry-run in stg to test a real run
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
parent
0a348a4da4
commit
07278500e4
1 changed files with 2 additions and 3 deletions
|
@ -8,9 +8,6 @@ metadata:
|
|||
data:
|
||||
config.py: |-
|
||||
class BaseConfiguration:
|
||||
# FIXME: Set this to False when MTS is ready to work on either stg or prod
|
||||
dry_run = True
|
||||
|
||||
log_level = 'DEBUG'
|
||||
|
||||
koji_cert = None
|
||||
|
@ -24,6 +21,7 @@ data:
|
|||
build_state = 'ready'
|
||||
|
||||
{% if env == 'staging' %}
|
||||
dry_run = False
|
||||
# Running in staging, a rule file inside my perosnal repo is used in order to test conveniently.
|
||||
rules_file_url = 'https://pagure.io/mts-rules/raw/master/f/rules.yaml'
|
||||
mbs_api_url = 'https://mbs.stg.fedoraproject.org/module-build-service/1/'
|
||||
|
@ -32,6 +30,7 @@ data:
|
|||
'org.fedoraproject.stg.mbs.module.state.change',
|
||||
]
|
||||
{% else %}
|
||||
dry_run = False
|
||||
rules_file_url = ('https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/'
|
||||
'roles/openshift-apps/message-tagging-service/files/mts-rules.yml')
|
||||
mbs_api_url = 'https://mbs.fedoraproject.org/module-build-service/1/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue