From c3f0b55d47c28d1c467a4c3b4e1641cb0a0d6470 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 25 May 2020 10:01:42 +0200 Subject: [PATCH] monitor-gating: Define some more variable in runner.cfg for staging These variables are used by monitor-gating to slow down its run frequency when an issue is causing problems and to report that a run failed when it did fail. Signed-off-by: Pierre-Yves Chibon --- .../monitor-gating/templates/runner.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/openshift-apps/monitor-gating/templates/runner.cfg b/roles/openshift-apps/monitor-gating/templates/runner.cfg index 1916d66215..2ea24c5e81 100644 --- a/roles/openshift-apps/monitor-gating/templates/runner.cfg +++ b/roles/openshift-apps/monitor-gating/templates/runner.cfg @@ -26,6 +26,19 @@ workflow_multi_gating_args = "--conf /opt/config/monitor_gating.cfg" # 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" {% endif %} +