From 07278500e469a421539b80b649f5737b71a9a731 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Wed, 14 Aug 2019 14:50:39 +0800 Subject: [PATCH] message-tagging-service: disable dry-run in stg to test a real run Signed-off-by: Chenxiong Qi --- .../message-tagging-service/templates/configmap.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/message-tagging-service/templates/configmap.yml b/roles/openshift-apps/message-tagging-service/templates/configmap.yml index ae9fa76b58..36e4aa7967 100644 --- a/roles/openshift-apps/message-tagging-service/templates/configmap.yml +++ b/roles/openshift-apps/message-tagging-service/templates/configmap.yml @@ -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/'