From 8b6f71035bfad79dce41fe56e90592a671e179c4 Mon Sep 17 00:00:00 2001 From: "Chandan Kumar (raukadah)" Date: Wed, 16 Oct 2019 12:28:55 +0530 Subject: [PATCH] Set force_periodic to true in periodic job Currently in zuul based reproducer, for running periodic jobs, we need to specifically set force_periodic to true in the launcher playbook manually. In order to fix that we are enabling it based on job name. Change-Id: Ic4aa91f061d9918fa91a69cb4c38eb476521c3d0 Signed-off-by: Chandan Kumar (raukadah) --- .../templates/launcher-playbook.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 b/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 index 3a7f5cf82..31637a40d 100644 --- a/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 +++ b/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 @@ -101,6 +101,9 @@ ready_releases_file: | {{ releases_file_output | replace('export', ' export') }} {% endif -%} + {% if 'periodic' in zuul.job -%} + force_periodic: true + {% endif %} registry_login_enabled: false featureset_override: {% if featureset_override_file_output is defined -%}