diff mbox

[Branch,~linaro-validation/lava-tool/trunk] Rev 195: job templates: remove server & bundle stream params

Message ID 20130829205037.25041.82621.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Antonio Terceiro Aug. 29, 2013, 8:50 p.m. UTC
------------------------------------------------------------
revno: 195
committer: Antonio Terceiro <antonio.terceiro@linaro.org>
branch nick: trunk
timestamp: Wed 2013-08-28 22:14:17 -0300
message:
  job templates: remove server & bundle stream params
  
  This makes it impossible to submit to a local device when you don't have
  a full LAVA setup since it will always break at the "submit results"
  job.
  
  Also, there are plans to drop the server argument from submit results,
  cfe https://bugs.launchpad.net/lava-dispatcher/+bug/1217061
  
  I would even go further and make the results submission automatic, so
  you shouldn't need an explicit submit-results action at all.
modified:
  lava/job/templates.py


--
lp:lava-tool
https://code.launchpad.net/~linaro-validation/lava-tool/trunk

You are subscribed to branch lp:lava-tool.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-tool/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava/job/templates.py'
--- lava/job/templates.py	2013-07-26 08:10:16 +0000
+++ lava/job/templates.py	2013-08-29 01:14:17 +0000
@@ -30,10 +30,6 @@ 
 TESTDEF_URLS_PARAMETER = ListParameter("testdef_urls")
 TESTDEF_URLS_PARAMETER.store = False
 
-# Use another ID for the server parameter, might be different.
-SERVER_PARAMETER = Parameter("stream_server")
-STREAM_PARAMETER = Parameter("stream")
-
 BOOT_TEST = {
     "timeout": 18000,
     "job_name": "Boot test",
@@ -68,13 +64,6 @@ 
                 "timeout": 1800,
                 "testdef_urls": TESTDEF_URLS_PARAMETER,
             }
-        },
-        {
-            "command": "submit_results",
-            "parameters": {
-                "stream": STREAM_PARAMETER,
-                "server": SERVER_PARAMETER
-            }
         }
     ]
 }
@@ -103,13 +92,6 @@ 
                     }
                 ]
             }
-        },
-        {
-            "command": "submit_results",
-            "parameters": {
-                "stream": STREAM_PARAMETER,
-                "server": SERVER_PARAMETER
-            }
         }
     ]
 }