Skip to content
Snippets Groups Projects
Commit 13ab7ece authored by Chase Qi's avatar Chase Qi
Browse files

ci: enable lava test and report jobs


Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent 1a500ec5
No related branches found
No related tags found
No related merge requests found
......@@ -67,19 +67,31 @@ linux-stm32mp1-av96:
rules:
- when: never
# Run lava test and report jobs for scheduled pipeline only.
.lava-test:
rules:
- if: '$CI_LAVA_TOKEN == null'
when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"'
.lava-report:
rules:
- if: '$CI_LAVA_TOKEN == null'
when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: manual
##
## Submit jobs to LAVA
##
lava-zephyr-96b-nitrogen:
needs: [zephyr-96b-nitrogen]
lava-zephyr-96b-nitrogen-tests:
needs: [zephyr-96b-nitrogen-tests]
stage: test
extends: .lava-test
variables:
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/nitrogen-boot.yaml"
CI_BUILD_JOB_NAME: zephyr-96b-nitrogen
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/nitrogen-test.yaml"
CI_BUILD_JOB_NAME: zephyr-96b-nitrogen-tests
CI_REPORT_JOB_NAME: lava-report
rules:
- when: never
lava-zephyr-qemu-cortex-m3:
needs: [zephyr-qemu-cortex-m3]
......@@ -89,8 +101,6 @@ lava-zephyr-qemu-cortex-m3:
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-zephyr-cortex-m3.yaml"
CI_BUILD_JOB_NAME: zephyr-qemu-cortex-m3
CI_REPORT_JOB_NAME: lava-report
rules:
- when: never
lava-zephyr-qemu-x86:
needs: [zephyr-qemu-x86]
......@@ -100,14 +110,10 @@ lava-zephyr-qemu-x86:
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-zephyr-x86.yaml"
CI_BUILD_JOB_NAME: zephyr-qemu-x86
CI_REPORT_JOB_NAME: lava-report
rules:
- when: never
##
## Get the results back from LAVA.
##
lava-report:
needs: [lava-zephyr-96b-nitrogen, lava-zephyr-qemu-cortex-m3, lava-zephyr-qemu-x86]
needs: [lava-zephyr-96b-nitrogen-tests, lava-zephyr-qemu-cortex-m3, lava-zephyr-qemu-x86]
extends: .lava-report
rules:
- when: never
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment