-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathdepthcharge.jinja2
More file actions
69 lines (68 loc) · 1.67 KB
/
depthcharge.jinja2
File metadata and controls
69 lines (68 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{%- if kernel_url is not defined %}
{%- set kernel_url = node.artifacts.kernel %}
{%- endif %}
{%- if modules_url is not defined %}
{%- set modules_url = node.artifacts.modules %}
{%- endif %}
{%- if device_dtb and dtb_url is not defined %}
{%- set dtb_url = node.artifacts.dtb %}
{%- endif %}
{%- if boot_commands is not defined %}
{%- set boot_commands = 'ramdisk' %}
{%- endif %}
- deploy:
{%- if boot_namespace %}
namespace: {{ boot_namespace }}
{%- endif %}
kernel:
url: '{{ kernel_url }}'
modules:
compression: xz
url: '{{ modules_url }}'
{%- if device_dtb %}
dtb:
url: '{{ dtb_url }}'
{%- endif %}
{%- if boot_commands == 'nfs' and nfsroot %}
nfsrootfs:
compression: xz
format: tar
url: '{{ nfsroot }}/full.rootfs.tar.xz'
{%- if node.artifacts.kselftest_tar_gz %}
overlays:
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}
ramdisk:
compression: gz
url: '{{ nfsroot }}/initrd.cpio.gz'
{%- else %}
ramdisk:
compression: gz
url: 'http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20230623.0/{{ brarch }}/rootfs.cpio.gz'
{%- endif %}
os: oe
timeout:
minutes: 10
to: tftp
- boot:
commands: {{ boot_commands }}
{%- if boot_namespace %}
namespace: {{ boot_namespace }}
{%- endif %}
method: depthcharge
failure_retry: 3
prompts:
- '/ #'
timeout:
minutes: 20
timeouts:
bootloader-commands:
minutes: 3
auto-login-action:
minutes: 6
login-action:
minutes: 2