Skip to content

Commit 18102c3

Browse files
committed
feat!(ci): Add gh repo and attempt to LAVA jobs
Drop the device_type as it's already discoverable in the LAVA metadata. Also rename boot test to smoke tests as this matches the kind of tests we're pulling from test-definitions. Signed-off-by: Loïc Minier <[email protected]>
1 parent 676981e commit 18102c3

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/workflows/lava-schema-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
-e "s|{{BUILD_DOWNLOAD_URL}}|${BUILD_DOWNLOAD_URL}|g" \
2828
-e "s|{{BUILD_FILE_NAME}}|${BUILD_FILE_NAME}|g" \
2929
-e "s|{{DEVICE_TYPE}}|${DEVICE_TYPE}|g" \
30+
-e "s|{{GITHUB_REPOSITORY}}|${GITHUB_REPOSITORY}|g" \
31+
-e "s|{{GITHUB_RUN_ATTEMPT}}|${GITHUB_RUN_ATTEMPT}|g" \
3032
-e "s|{{GITHUB_RUN_ID}}|${GITHUB_RUN_ID}|g" \
3133
-e "s|{{GITHUB_SHA}}|${GITHUB_SHA}|g" \
3234
-i '{}' \;

.github/workflows/lava-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
-e "s|{{BUILD_DOWNLOAD_URL}}|${BUILD_DOWNLOAD_URL}|g" \
7373
-e "s|{{BUILD_FILE_NAME}}|${BUILD_FILE_NAME}|g" \
7474
-e "s|{{DEVICE_TYPE}}|${DEVICE_TYPE}|g" \
75+
-e "s|{{GITHUB_REPOSITORY}}|${GITHUB_REPOSITORY}|g" \
76+
-e "s|{{GITHUB_RUN_ATTEMPT}}|${GITHUB_RUN_ATTEMPT}|g" \
7577
-e "s|{{GITHUB_RUN_ID}}|${GITHUB_RUN_ID}|g" \
7678
-e "s|{{GITHUB_SHA}}|${GITHUB_SHA}|g" \
7779
-i "$TEMPLATE"

ci/lava/qcs6490-rb3gen2-vision-kit/boot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ context:
7171
lava_test_results_dir: /home/lava-%s
7272
test_character_delay: 10
7373
device_type: qcs6490
74-
job_name: boot test (rb3gen2) {{GITHUB_RUN_ID}}
74+
job_name: smoke tests {{GITHUB_REPOSITORY}} {{GITHUB_RUN_ID}}-{{GITHUB_RUN_ATTEMPT}}
7575
metadata:
7676
build-commit: '{{GITHUB_SHA}}'
7777
priority: 50

ci/lava/qrb2210-rb1/boot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ context:
7272
lava_test_results_dir: /home/lava-%s
7373
test_character_delay: 10
7474
device_type: qrb2210-rb1
75-
job_name: boot test (rb1) {{GITHUB_RUN_ID}}
75+
job_name: smoke tests {{GITHUB_REPOSITORY}} {{GITHUB_RUN_ID}}-{{GITHUB_RUN_ATTEMPT}}
7676
metadata:
7777
build-commit: '{{GITHUB_SHA}}'
7878
priority: 50

0 commit comments

Comments
 (0)