1
0
Fork 0

orangepi initial test job, doesn't work yet

Esse commit está contido em:
Madis Martin Lutter 2018-06-14 14:42:15 +03:00
commit 5aa905121b
4 arquivos alterados com 138 adições e 0 exclusões

45
jobs/health.yaml Normal file
Ver arquivo

@ -0,0 +1,45 @@
device_type: qemu
job_name: health-check-qemu01
priority: medium
visibility: public
timeouts:
job:
minutes: 15
action:
minutes: 10
connection:
minutes: 2
context:
arch: amd64
no_kvm: true
actions:
- deploy:
timeout:
minutes: 4
to: tmpfs
images:
rootfs:
image_arg: -drive format=raw,file={rootfs}
url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/2/stretch.img.gz
sha256sum: b5cdb3b9e65fec2d3654a05dcdf507281f408b624535b33375170d1e852b982c
compression: gz
os: debian
root_partition: 1
- boot:
method: qemu
media: tmpfs
timeout:
minutes: 2
prompts:
- "root@debian:"
auto_login:
login_prompt: "login:"
username: root
- test:
timeout:
minutes: 15
definitions:
- repository: http://git.k-space.ee/madislutter/lava-tests.git
from: git
name: health
path: test-definitions/qemu/health.yaml

45
jobs/inline-pwd.yaml Normal file
Ver arquivo

@ -0,0 +1,45 @@
device_type: qemu
job_name: inline test
priority: medium
visibility: public
context:
arch: amd64
no_kvm: true
actions:
- deploy:
timeout:
minutes: 4
to: tmpfs
images:
rootfs:
image_arg: -drive format=raw,file={rootfs}
url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/2/stretch.img.gz
sha256sum: b5cdb3b9e65fec2d3654a05dcdf507281f408b624535b33375170d1e852b982c
compression: gz
os: debian
root_partition: 1
- boot:
method: qemu
media: tmpfs
timeout:
minutes: 2
prompts:
- "root@debian:"
auto_login:
login_prompt: "login:"
username: root
- test:
timeout:
minutes: 15
definitions:
- repository:
metadata:
format: Lava-Test Test Definition 1.0
name: print working directory
description: "Prints the working directory"
run:
steps:
- pwd
from: inline
name: pwd-inline
path: inline/pwd-inline.yaml

38
jobs/orangepi-zero.yaml Normal file
Ver arquivo

@ -0,0 +1,38 @@
device_type: sun8i-h2-plus-orangepi-zero
job_name: kernel-boot-test
priority: medium
visibility: public
timeouts:
job:
minutes: 15
action:
minutes: 10
connection:
minutes: 5
context:
arch: arm
extra_kernel_args: panic=2 clk_ignore_unused loglevel=15
actions:
- deploy:
timeout:
minutes: 10
to: tftp
images:
kernel:
type: zImage
url: file:///home/images/v4.17/zImage
dtb:
url: file:///home/images/v4.17/sun8i-h2-plus-orangepi-zero.dtb
os: ubuntu
- boot:
method: u-boot
bootargs:
timeout:
minutes: 5
prompts:
- "root@cubietruck:"
auto_login:
login_prompt: "cubietruck login:"
username: root
password_prompt: "Password:"
password: salakala

Ver arquivo

@ -0,0 +1,10 @@
metadata:
maintainer: madislutter@gmail.com
os: debian
format: Lava-Test Test Definition 1.0
name: health
description: Health test for qemu
run:
steps:
- pwd