submitobs: Do not submit to projects using abs workflow 50/60450/1
authorYonghee Han <onstudy@samsung.com>
Fri, 26 Feb 2016 08:29:05 +0000 (17:29 +0900)
committerYonghee Han <onstudy@samsung.com>
Fri, 26 Feb 2016 08:29:05 +0000 (17:29 +0900)
        Submitobs job should skip submission If staging project is set to
        abs in git-obs mapping

Change-Id: If1d8322d86d4fa2931db52bae28e85e06b36b878

job_submitobs.py

index 7e7a133..991d0e0 100755 (executable)
@@ -411,9 +411,9 @@ def main():
         if not obs_dst_prj:
             continue
 
-        # skip projects using prerelease workflow
-        if obs_stg_prj == 'prerelease':
-            print "%s has been switched to prerelease workflow."\
+        # skip projects using prerelease or abs workflow
+        if obs_stg_prj == 'prerelease' or obs_stg_prj == 'abs':
+            print "%s has been switched to prerelease or abs workflow."\
                   " Skipping ..." % obs_dst_prj
             continue