On Tue, 10 Jun 2014 13:26:40 +0000
"Chisanovici, IonutX" <ionutx.chisanov...@intel.com> wrote:

> Hi Neil,
> 
> Ok, I will try the dummy-ssh part but I need more examples on how to
> do that. Based on
> 'https://validation.linaro.org/static/docs/dummy-deploy.html', that
> is very little.

Combine that with:

https://git.linaro.org/lava/lava-lab.git/blob/HEAD:/lava/devices/dispatcher01/production/githost01.conf

(a working dummy-ssh in production)

Adding to the dispatcher:

https://validation.linaro.org/static/docs/lava-image-creation.html#adding-to-the-dispatcher

Adding to the database:

https://validation.linaro.org/static/docs/lava-image-creation.html#adding-to-the-scheduler

(Yes, that section could do with some more content but once you've
done it once, it will make sense.)

> Please remind that I'm newby/beginner in lava. Where
> should I put that ssh01.conf (folder location under lava installation
> dir) ? How can I add a dummy device ? How can I test a full
> connection between the server and the dummy-ssh device ?

If you can ssh to the machine as root from the LAVA dispatcher without
a password prompt, things should be fine.

A JSON snippet to connect would be:

    "actions": [
        {
            "command": "dummy_deploy",
            "parameters": {
                "target_type": "ubuntu"
            }
        },


The target_type only matters if you are installing packages on the ssh
host or if you're using Android. You should be able to use a "ubuntu"
target_type even when connecting to Fedora if all the packages you need
are already installed. We don't have Fedora users in the team, so
various bits of Fedora deployment are untested and possibly incomplete.
Feedback and fixes for this would be useful. ;-)

https://validation.linaro.org/scheduler/job/117750/definition

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to