Skip to content

Commit 758bd9a

Browse files
ci: add qrb2210-rb1-core-kit boot test job (#812)
Add LAVA test job template for qrb2210-rb1-core-kit. The jobs is the same as for other existing boards.
2 parents 7574cdc + ea69a80 commit 758bd9a

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
actions:
2+
- deploy:
3+
images:
4+
image:
5+
headers:
6+
Authentication: Q_GITHUB_TOKEN
7+
url: "{{BUILD_DOWNLOAD_URL}}"
8+
postprocess:
9+
docker:
10+
image: ghcr.io/foundriesio/lava-lmp-sign:main
11+
steps:
12+
- export IMAGE_PATH=$PWD
13+
- cp overlay*.tar.gz overlay.tar.gz
14+
- echo "OVERLAY=overlay.tar.gz" >> $IMAGE_PATH/flash.settings
15+
- echo "OVERLAY_PATH=/home/" >> $IMAGE_PATH/flash.settings
16+
- echo "DEVICE_TYPE=qrb2210-rb1" >> $IMAGE_PATH/flash.settings
17+
- cat $IMAGE_PATH/flash.settings
18+
timeout:
19+
minutes: 5
20+
to: downloads
21+
- deploy:
22+
images:
23+
image:
24+
url: downloads://{{BUILD_FILE_NAME}}
25+
settings:
26+
url: downloads://flash.settings
27+
overlay:
28+
url: downloads://overlay.tar.gz
29+
timeout:
30+
minutes: 5
31+
to: flasher
32+
- boot:
33+
auto_login:
34+
login_prompt: 'login:'
35+
username: root
36+
method: minimal
37+
prompts:
38+
- root@{{DEVICE_TYPE}}
39+
timeout:
40+
minutes: 3
41+
- test:
42+
definitions:
43+
- from: git
44+
name: "{{DEVICE_TYPE}}-smoke-test"
45+
path: automated/linux/smoke/smoke.yaml
46+
repository: https://github.com/linaro/test-definitions.git
47+
parameters:
48+
SKIP_INSTALL: "True"
49+
TESTS: "pwd, uname -a, ip a"
50+
- command:
51+
name: network_turn_on
52+
context:
53+
lava_test_results_dir: /home/lava-%s
54+
test_character_delay: 10
55+
device_type: {{DEVICE_TYPE}}
56+
job_name: boot test ({{DEVICE_TYPE}}) {{GITHUB_RUN_ID}}
57+
metadata:
58+
build-commit: '{{GITHUB_SHA}}'
59+
priority: 50
60+
timeouts:
61+
job:
62+
minutes: 15
63+
visibility: public

0 commit comments

Comments
 (0)