From 9094e47b96eb00dcca472c0613926abff887bb51 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 30 Jul 2020 15:47:28 +0200 Subject: [PATCH] monitor-gating: Adjust the prod configuration to be similar to the staging one Signed-off-by: Pierre-Yves Chibon --- .../monitor-gating/templates/runner.cfg | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/roles/openshift-apps/monitor-gating/templates/runner.cfg b/roles/openshift-apps/monitor-gating/templates/runner.cfg index 6b3788aeb0..19b0446f89 100644 --- a/roles/openshift-apps/monitor-gating/templates/runner.cfg +++ b/roles/openshift-apps/monitor-gating/templates/runner.cfg @@ -20,25 +20,28 @@ workflow_single_gating_args = "--conf /opt/config/monitor_gating.cfg --auto-upda # CLI arguments to give to the script testing the multi builds gating workflow workflow_multi_gating_args = "--conf /opt/config/monitor_gating.cfg" +# Project whose issue will slow down the subsequent runs (delay defined +# above). +pagure_blocking_project = "packager-workflow" +# Project against which failed runs report their failure. +pagure_report_project = "packager-workflow" # The fedpkg command to call to clean up the dangling side-tags {% if env == 'staging' %} fedpkg = "fedpkg-stage" -# Project whose issue will slow down the subsequent runs (delay defined -# above). -pagure_blocking_project = "packager-workflow" # blocker issue tags, issue has to have all of them. blocker_tags = ['packager_workflow_blocker', 'staging'] - -# Project against which failed runs report their failure. -pagure_report_project = "packager-workflow" pagure_api_token = "{{ monitor_gating_pagure_api_token_workflow_stg }}" env = "staging" {% else %} fedpkg = "fedpkg" + # blocker issue tags, issue has to have all of them. blocker_tags = ['packager_workflow_blocker'] + +pagure_api_token = "{{ monitor_gating_pagure_api_token_workflow_prod }}" + {% endif %}