Introduce babeltrace benchmark pipeline
[lttng-ci.git] / scripts / babeltrace-benchmark / template_lava_job_bt_benchmark.jinja2
1 device_type: x86
2 job_name: babeltrace_benchmark
3 timeouts:
4 job:
5 hours: 3
6 action:
7 hours: 3
8 connection:
9 minutes: 4
10 connections:
11 lava-test-shell:
12 minutes: 4
13 priority: medium
14 visibility: public
15 context:
16 extra_kernel_args: cpuidle.off=1
17 extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
18
19 tags:
20 - dev-sda1
21
22
23 actions:
24 - deploy:
25 timeout:
26 minutes: 10
27 to: tftp
28 kernel:
29 url: {{ kernel_url }}
30 type: zimage
31 modules:
32 url: {{ modules_url }}
33 compression: gz
34 nfsrootfs:
35 url: {{ nfsrootfs_url }}
36 compression: gz
37
38 - boot:
39 timeout:
40 minutes: 10
41 method: ipxe
42 commands: nfs
43 auto_login:
44 login_prompt: 'login:'
45 username: root
46 password_prompt: 'Password:'
47 password: root
48 prompts:
49 - 'root@linaro-server:~#'
50
51 - test:
52 definitions:
53 # Base setup of environment #
54 - repository:
55 metadata:
56 format: Lava-Test Test Definition 1.0
57 name: x86-env-setup
58 description: "Basic environment setup for x86 board"
59 os:
60 - ubuntu
61 devices:
62 - x86
63 run:
64 steps:
65 - chmod 755 /
66 - systemctl start systemd-timesyncd
67 - echo nameserver 172.18.0.12 > /etc/resolv.conf
68 - ip a
69 - mount /dev/sda /tmp
70 - rm -rf /tmp/*
71 - locale-gen en_US.UTF-8
72 - apt-get update
73 - apt-get upgrade
74 - hash -r
75 - sync
76 from: inline
77 name: x86-env-setup-inline
78 path: inline/x86-env-setup.yaml
79 - repository: https://github.com/lttng/lttng-ci.git
80 from: git
81 path: lava/benchmark/babeltrace/benchmark.yml
82 name: babeltrace-benchmark
83 params:
84 COMMIT: {{ commit_hash }}
This page took 0.032083 seconds and 4 git commands to generate.