Skip to content

Commit

Permalink
ci: add smoke test to LAVA job
Browse files Browse the repository at this point in the history
Signed-off-by: Milosz Wasilewski <[email protected]>
  • Loading branch information
mwasilew authored and ricardosalveti committed Dec 19, 2024
1 parent 9d77ead commit 02fe2ea
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ci/lava/qcs6490-rb3gen2-core-kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ actions:
image: ghcr.io/foundriesio/lava-lmp-sign:main
steps:
- export IMAGE_PATH=$PWD
- cp overlay*.tar.gz overlay.tar.gz
- echo "OVERLAY=overlay.tar.gz" >> $IMAGE_PATH/flash.settings
- echo "OVERLAY_PATH=/home/" >> $IMAGE_PATH/flash.settings
- echo "DEVICE_TYPE=qcs6490-rb3gen2" >> $IMAGE_PATH/flash.settings
- cat $IMAGE_PATH/flash.settings
timeout:
Expand All @@ -21,6 +24,8 @@ actions:
url: downloads://{{BUILD_FILE_NAME}}
settings:
url: downloads://flash.settings
overlay:
url: downloads://overlay.tar.gz
timeout:
minutes: 5
to: flasher
Expand All @@ -33,8 +38,20 @@ actions:
- root@{{DEVICE_TYPE}}
timeout:
minutes: 3
- test:
definitions:
- from: git
name: smoke-test
path: automated/linux/smoke/smoke.yaml
repository: https://github.com/linaro/test-definitions.git
parameters:
SKIP_INSTALL: "True"
TESTS: "pwd, uname -a, ip a"
- command:
name: network_turn_on
context:
lava_test_results_dir: /home/lava-%s
test_character_delay: 10
device_type: {{DEVICE_TYPE}}
job_name: boot test ({{DEVICE_TYPE}}) {{GITHUB_RUN_ID}}
metadata:
Expand Down

0 comments on commit 02fe2ea

Please sign in to comment.