From 02fe2ea7574d38b10551b0c3f8345d3ed57c3100 Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Thu, 19 Dec 2024 15:06:03 +0000 Subject: [PATCH] ci: add smoke test to LAVA job Signed-off-by: Milosz Wasilewski --- ci/lava/qcs6490-rb3gen2-core-kit.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ci/lava/qcs6490-rb3gen2-core-kit.yml b/ci/lava/qcs6490-rb3gen2-core-kit.yml index cce5d0c6..f0ef537a 100644 --- a/ci/lava/qcs6490-rb3gen2-core-kit.yml +++ b/ci/lava/qcs6490-rb3gen2-core-kit.yml @@ -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: @@ -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 @@ -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: