yocto-autobuilder-helper/lava-templates/generate-jobconfig.jinja2
Aaron Chan a68fd9beab 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>
2018-08-30 16:21:51 +01:00

44 lines
1.2 KiB
Django/Jinja

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 }}