blob: e94267c2151e0fd0fa26cdb005a7a658b09339b7 (
plain)
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
70
71
72
73
74
75
76
77
78
79
|
device_type: lxc
job_name: Build/grab QEMU user and run RISU in LXC container
timeouts:
job:
minutes: 30
action:
minutes: 15
connection:
minutes: 2
priority: medium
visibility: public
# context allows specific values to be overridden or included
context:
# tell the qemu template which architecture is being tested
# the template uses that to ensure that qemu-system-x86_64 is executed.
arch: amd64
netdevice: tap
protocols:
lava-lxc:
name: qemu-risu-build-and-test
template: debian
distribution: debian
release: stretch
mirror: http://ftp.uk.debian.org/debian/
metadata:
docs-source: qemu-aarch64 testing
docs-filename: qemu-aarch64-user-risu.yaml
# Setup test
actions:
- deploy:
timeout:
minutes: 20
to: lxc
os: debian
- boot:
method: lxc
timeout:
minutes: 3
prompts:
- 'root@(.*):/#'
- test:
failure_retry: 3
name: build-qemu
timeout:
minutes: `(format "%s" (lava-mode-end-of-day-timeout "18:00"))`
definitions:
# - repository: http://git.linaro.org/people/alex.bennee/test-definitions.git
# from: git
# path: ubuntu/build-qemu-from-source.yaml
# name: build
# parameters:
# "TARGET": aarch64-linux-user
# "BRANCH": master
# "REPO": http://git.qemu.org/git/qemu.git
# "BUILD_OPTS": "--disable-strip --disable-gnutls"
- repository: http://git.linaro.org/people/alex.bennee/test-definitions.git
from: git
path: ubuntu/install-qemu-from-repo.yaml
name: install-qemu
parameters:
"PKG": qemu-user-binfmt
- repository: http://git.linaro.org/people/alex.bennee/test-definitions.git
from: git
path: ubuntu/risu.yaml
name: build-risu-and-run
# - repository: https://git.linaro.org/lava-team/hacking-session.git
# from: git
# path: hacking-session-debian.yaml
# name: hacking
# parameters:
# "IRC_USER": "ajb-linaro"
# "PUB_KEY": `(format "\"%s\"" (s-trim (shell-command-to-string "cat ~/.ssh/id_rsa.pub")))`
|