orangepi initial test job, doesn't work yet
This commit is contained in:
parent
d190e73c95
commit
5aa905121b
45
jobs/health.yaml
Normal file
45
jobs/health.yaml
Normal file
@ -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
45
jobs/inline-pwd.yaml
Normal file
@ -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
38
jobs/orangepi-zero.yaml
Normal file
@ -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
|
10
test-definitions/qemu/health.yaml
Normal file
10
test-definitions/qemu/health.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user