Skip to content
Snippets Groups Projects
Commit 3f7095aa authored by Zygmunt Krynicki's avatar Zygmunt Krynicki Committed by Stefan Schmidt
Browse files

Switch to Oniro pipelines


We've moved from the OSTC infrastructure to the Oniro infrastructure,
and at the time simplified how continuous pipelines are defined.
Update the pipeline to the current set of jobs and exclusion rules.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 99c895c2
No related branches found
No related tags found
No related merge requests found
......@@ -8,14 +8,14 @@ stages:
- report
include:
- project: 'OSTC/infrastructure/pipelines'
- project: 'distro/oniro'
file:
- 'dco.yaml'
- 'reuse.yaml'
- project: 'OSTC/OHOS/manifest'
file: '.ostc-ci/build-generic.yaml'
- project: 'OSTC/OHOS/manifest'
file: '.ostc-ci/test-generic.yaml'
- '/.oniro-ci/dco.yaml'
- '/.oniro-ci/reuse.yaml'
- '/.oniro-ci/build-generic.yaml'
- '/.oniro-ci/test-generic.yaml'
- '/.oniro-ci/machines-and-flavours.yaml'
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
dco:
extends: .dco
......@@ -33,15 +33,40 @@ reuse:
OHOS_CI_GIT_REPO_PATH: sources/meta-zephyr
# Disable Linux and FreeRTOS builds that are unlikely to be affected by Zephyr
# changes and certainly save some time.
# changes and certainly save some time. Some jobs no longer use the
# .build-$flavour base so they are disabled separately.
.build-linux:
rules:
- when: never
.build-linux-matrix:
rules:
- when: never
.build-wic-image:
rules:
- when: never
.build-freertos:
rules:
- when: never
linux-qemu-x86:
rules:
- when: never
linux-qemu-x86_64:
rules:
- when: never
linux-raspberrypi4-64:
rules:
- when: never
linux-stm32mp1-av96:
rules:
- when: never
##
## Submit jobs to LAVA
##
......@@ -53,6 +78,8 @@ lava-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-boot.yaml"
CI_BUILD_JOB_NAME: zephyr-96b-nitrogen
CI_REPORT_JOB_NAME: lava-report
rules:
- when: never
lava-zephyr-qemu-cortex-m3:
needs: [zephyr-qemu-cortex-m3]
......@@ -62,6 +89,8 @@ 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]
......@@ -71,6 +100,8 @@ 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.
......@@ -78,3 +109,5 @@ lava-zephyr-qemu-x86:
lava-report:
needs: [lava-zephyr-96b-nitrogen, 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