From b2a19e189468a0eef3661916ce6e083356951634 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 20 Aug 2015 23:48:26 -0700 Subject: [PATCH] pass a proper 'version' value Summary: We can just parse the release out of the 'build' value, here. All tests still run properly because we use the * wildcard in the job groups and so on. Passing a proper 'version' value prevents T581: when you schedule jobs from an ISO, openQA will obsolete any running or scheduled jobs with the same DISTRI, FLAVOR, VERSION and ARCH. Test Plan: Schedule jobs for two composes at the same time (e.g. Branched and Rawhide), see that the second set does not obsolete the first. Make sure setting VERSION has no unexpected consequences. Reviewers: jskladan, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D522 --- openqa_trigger/openqa_trigger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openqa_trigger/openqa_trigger.py b/openqa_trigger/openqa_trigger.py index c154da4..6760020 100755 --- a/openqa_trigger/openqa_trigger.py +++ b/openqa_trigger/openqa_trigger.py @@ -80,7 +80,7 @@ def run_openqa_jobs(client, isoname, flavor, arch, build): params = { 'ISO': isoname, 'DISTRI': 'fedora', - 'VERSION': 'rawhide', # TODO + 'VERSION': build.split('_')[0], 'FLAVOR': flavor, 'ARCH': arch, 'BUILD': build