Hi Chetan,
You can also use notification callbacks https://validation.linaro.org/static/docs/v2/user-notifications.html#notific...
This would require you to write a small callback script which will have to be available via HTTP request (either GET or POST) and that script can trigger the job submission using LAVA API.
Cheers,
On 04/03/2018 06:51 AM, Neil Williams wrote:
On 3 April 2018 at 05:41, Chetan Sharma <chetan.sharma@timesys.com mailto:chetan.sharma@timesys.com> wrote:
Thanks Allot Senthil But it is possible only if we are submitting job from lavacli.
Or some other script which manages XMLRPC test job submissions - a simple 4 line python script is all you need to submit but you need to use something based on ZMQ to get the proper notification of when the submitted test job has completed.
Can we trigger another task If we submit job from LAVA Server Webpage.
You can setup notifications (IRC or email) but that is not intended as a way to trigger a task other than a human responding to the notification.
On Tue, Apr 3, 2018 at 7:59 AM, Senthil Kumaran S <senthil.kumaran@linaro.org <mailto:senthil.kumaran@linaro.org>> wrote: Hi Chetan, On Monday 02 April 2018 03:17 PM, Chetan Sharma wrote: > Can we trigger a another job/task of completion of one > TestJob ? Can you share any reference if we can perform this action. Using lavacli you can do this as seen in https://gist.github.com/stylesen/cb93346481f43a0c899b7c1e58473d33 <https://gist.github.com/stylesen/cb93346481f43a0c899b7c1e58473d33> There are other methods of doing it with the help of calling XML-RPC APIs using a python script, etc. The latest version of lavacli is available via Debian - https://packages.debian.org/search?keywords=lavacli <https://packages.debian.org/search?keywords=lavacli> Thank You. -- Senthil Kumaran S http://www.stylesen.org/ http://www.sasenthilkumaran.com/ <http://www.sasenthilkumaran.com/> -- Thanks & Regards Chetan Sharma _______________________________________________ Lava-users mailing list Lava-users@lists.linaro.org <mailto:Lava-users@lists.linaro.org> https://lists.linaro.org/mailman/listinfo/lava-users <https://lists.linaro.org/mailman/listinfo/lava-users>
--
Neil Williams
neil.williams@linaro.org mailto:neil.williams@linaro.org http://www.linux.codehelp.co.uk/
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users