mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
lava-templates: Add Jinja2 LAVA job-template on BSP x86_64
Include a reference LAVA job template on x86_64 in jinja2 format. This template will parsed and converted into YAML configuration before job is trigger on LAVA server end thru Yocto autobuilder. Signed-off-by: Aaron Chan <aaron.chun.yew.chan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d7d1a2b345
commit
a68fd9beab
43
lava-templates/generate-jobconfig.jinja2
Normal file
43
lava-templates/generate-jobconfig.jinja2
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
device_type: {{ device_type }}
|
||||||
|
job_name: {{ job_name }}
|
||||||
|
timeouts:
|
||||||
|
job:
|
||||||
|
minutes: {{ timeout.job.minutes }}
|
||||||
|
action:
|
||||||
|
minutes: {{ timeout.action.minutes }}
|
||||||
|
connection:
|
||||||
|
minutes: {{ timeout.connection.minutes }}
|
||||||
|
priority: {{ priority }}
|
||||||
|
visibility: {{ visibility }}
|
||||||
|
actions:
|
||||||
|
- deploy:
|
||||||
|
timeout:
|
||||||
|
minutes: {{ deploy.timeout }}
|
||||||
|
to: {{ deploy.to }}
|
||||||
|
kernel:
|
||||||
|
url: {{ deploy.kernel.url }}
|
||||||
|
type: {{ deploy.kernel.type }}
|
||||||
|
modules:
|
||||||
|
url: {{ deploy.modules.url }}
|
||||||
|
compression: {{ deploy.modules.compression }}
|
||||||
|
nfsrootfs:
|
||||||
|
url: {{ deploy.nfsrootfs.url }}
|
||||||
|
compression: {{ deploy.nfsrootfs.compression }}
|
||||||
|
os: {{ deploy.os }}
|
||||||
|
- boot:
|
||||||
|
timeout:
|
||||||
|
minutes: {{ boot.timeout }}
|
||||||
|
method: {{ boot.method }}
|
||||||
|
commands: {{ boot.commands }}
|
||||||
|
auto_login: { login_prompt: {{ boot.auto_login.login_prompt }}, username: {{ boot.auto_login.username }} }
|
||||||
|
prompts:
|
||||||
|
- {{ boot.prompts }}
|
||||||
|
- test:
|
||||||
|
timeout:
|
||||||
|
minutes: {{ test.timeout }}
|
||||||
|
name: {{ test.name }}
|
||||||
|
definitions:
|
||||||
|
- repository: {{ test.definitions.repository }}
|
||||||
|
from: {{ test.definitions.from }}
|
||||||
|
path: {{ test.definitions.path }}
|
||||||
|
name: {{ test.definitions.name }}
|
Loading…
Reference in New Issue
Block a user