public inbox for kernelci@lists.linux.dev
 help / color / mirror / Atom feed
From: "Kevin Hilman" <khilman@baylibre.com>
To: kernelci@groups.io, lixm.fnst@cn.fujitsu.com,
	"kernelci@groups.io" <kernelci@groups.io>,
	"dan.rue@linaro.org" <dan.rue@linaro.org>
Subject: Re: 答复: [Help] How to use kernelci to eastablish a local CI lab?
Date: Mon, 14 Jan 2019 13:55:26 -0800	[thread overview]
Message-ID: <7hlg3mkipd.fsf@baylibre.com> (raw)
In-Reply-To: <62079D2F712F7747B0BDCC6821B8DF0D013FB32B@G08CNEXMBPEKD02.g08.fujitsu.local>

Hi Li,

"Li, Xiaoming" <lixm.fnst@cn.fujitsu.com> writes:

> Reply is inline
>
>> On Wed, Jan 09, 2019 at 10:01:17PM -0800, Li, Xiaoming wrote:
>> > hi,all
>> >
>> > I am a rookie to kernelci.
>> > I have already install kernelci-docker and lava, then what should  I do  to
>> connetc them together?
>> > I have investigate the kernelci-wiki and kernelci related presentations, but still
>> got no clues.
>> > Could anyone give some hints or link?
>> > Thank you all.
>> 
>> Hi Li Xiaoming!
>> 
>> I'm working on something similar and so maybe we can work together on this.
>> 
>> Do you have a lava instance online with boards attached already? It's not clear
>> if you already have LAVA, and are trying to add it as a kernelci lab, or if you're
>> asking how to set up LAVA.
>
> I know how to install LAVA, by lava-docker or the linaro's default method.
> Our lab has servral lava instance, so I can connect kernelci with lava either local or remote, if possible.
> Yes,I want to know how add lava to kernelci lab.

There are several steps in the process, but it's not clear (to me) which
steps you're asking about, so let me crudely summarize the steps, and
see which ones you're having questions about:

- kernelci-core: jenkins jobs to watch kernel trees for changes

- kernelci-core: create LAVA jobs and submit to multiple LAVA labs
  API: LAVA's XML-RPC API.
  Auth: requies LAVA auth token to be shared with kernelci-core admins

- LAVA labs: run LAVA jobs on hardware/VMs etc.

- LAVA labs: submit results to kernelci-backend
  (NOTE: the LAVA jobs include "notify" sections which tell the LAVA
   where to post results after each LAVA Job)

  API: REST API (api.kernelci.org).  In particular /boot, /test
  Auth: kernelci-backend admin generates token to be shared with LAVA
        lab 

For the main kernelci.org site, there is a main instance of the
kernelci-backend and kernelci-frontend, so you don't have to run those
(via kernelci-docker) if you're just hoping to contribute to the main
site.  However, you still need to exchange tokens for both the "Auth"
steps I list above.

If however, you want to run your own kernelci-backend and -frontend,
which I gather you do since you've setup kernelci-docker, then you can
create and share all the auth tokens yourself.

I hope that clarifies the process a little bit.  When we know which
steps you're struggling with, we can answer more detailed questions.

BTW, for kernelci-docker, I strongly recommend using this fork for now:
https://github.com/lucj/kernelci-docker.   We (BayLibre) have been
working on that fork and are using it regularily.  I recommend using
that until we get those enhancements merged back into the main repo.

Thanks,

Kevin




  parent reply	other threads:[~2019-01-14 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10  6:01 [Help] How to use kernelci to eastablish a local CI lab? Li, Xiaoming
2019-01-10 15:42 ` Dan Rue
2019-01-11  2:08   ` 答复: " Li, Xiaoming
2019-01-14 10:34     ` charles.oliveira
2019-01-14 21:55     ` Kevin Hilman [this message]
2019-01-15  5:55       ` 答复: 答复: " Li, Xiaoming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7hlg3mkipd.fsf@baylibre.com \
    --to=khilman@baylibre.com \
    --cc=dan.rue@linaro.org \
    --cc=kernelci@groups.io \
    --cc=lixm.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox