Skip to content
Snippets Groups Projects
Commit ac73f3e8 authored by Sébastien Heurtematte's avatar Sébastien Heurtematte :speech_balloon:
Browse files

ci: migration EF runner


Signed-off-by: Sébastien Heurtematte's avatarsebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
parent 1151573b
No related branches found
No related tags found
1 merge request!86Migration EF runner
...@@ -55,6 +55,11 @@ workflow: ...@@ -55,6 +55,11 @@ workflow:
include: include:
- local: '.gitlab-ci/container.yml' - local: '.gitlab-ci/container.yml'
default:
tags:
- origin:eclipse
- ctx:oniro-group
variables: variables:
# Force the use of git clone to avoid odd git and repo problems # Force the use of git clone to avoid odd git and repo problems
GIT_STRATEGY: "clone" GIT_STRATEGY: "clone"
...@@ -90,6 +95,9 @@ stages: ...@@ -90,6 +95,9 @@ stages:
# Common job definition for bitbake driven jobs, such as fetch and build # Common job definition for bitbake driven jobs, such as fetch and build
.bitbake: .bitbake:
tags:
- origin:eclipse
- tool:bitbake
image: image:
name: $BITBAKE_BUILDER:$BITBAKE_CONTAINER_VERSION name: $BITBAKE_BUILDER:$BITBAKE_CONTAINER_VERSION
variables: variables:
...@@ -218,8 +226,6 @@ fetch: ...@@ -218,8 +226,6 @@ fetch:
- job: bitbake-builder - job: bitbake-builder
artifacts: false artifacts: false
optional: true optional: true
tags:
- cpu.light
script: script:
# Fetching is io-bound, not cpu-bound, so we should be able to ignore the # Fetching is io-bound, not cpu-bound, so we should be able to ignore the
# runner configured max on build jobs without eating up too much cpu time. # runner configured max on build jobs without eating up too much cpu time.
...@@ -318,8 +324,6 @@ build: ...@@ -318,8 +324,6 @@ build:
after_script: after_script:
- !reference [.bitbake, after_script] - !reference [.bitbake, after_script]
- time repo/oe-core/scripts/pybootchartgui/pybootchartgui.py build/tmp-*/buildstats/* -o build/tmp-*/buildstats - time repo/oe-core/scripts/pybootchartgui/pybootchartgui.py build/tmp-*/buildstats/* -o build/tmp-*/buildstats
tags:
- cpu.heavy
parallel: parallel:
matrix: matrix:
- DISTRO: [oniro-openharmony-linux] - DISTRO: [oniro-openharmony-linux]
...@@ -347,8 +351,6 @@ ptest: ...@@ -347,8 +351,6 @@ ptest:
when: never when: never
- when: on_success - when: on_success
extends: .bitbake extends: .bitbake
tags:
- cpu.heavy
parallel: parallel:
matrix: matrix:
- DISTRO: [oniro-openharmony-linux] - DISTRO: [oniro-openharmony-linux]
...@@ -373,8 +375,6 @@ build_ch: ...@@ -373,8 +375,6 @@ build_ch:
artifacts: false artifacts: false
rules: rules:
- if: $CHINA_CI != null - if: $CHINA_CI != null
tags:
- region.china
variables: variables:
MANIFEST_FILE: manifests/gitee/ci.xml MANIFEST_FILE: manifests/gitee/ci.xml
SOURCE_MIRROR_URL: $SOURCE_MIRROR_URL_CH SOURCE_MIRROR_URL: $SOURCE_MIRROR_URL_CH
...@@ -417,8 +417,6 @@ ohos_fetch: ...@@ -417,8 +417,6 @@ ohos_fetch:
image: image:
name: $OPENHARMONY_BUILDER:$OPENHARMONY_CONTAINER_VERSION name: $OPENHARMONY_BUILDER:$OPENHARMONY_CONTAINER_VERSION
extends: .openharmony_tarball extends: .openharmony_tarball
tags:
- cpu.light
parallel: parallel:
matrix: matrix:
- OPENHARMONY_VERSION: ["3.0"] - OPENHARMONY_VERSION: ["3.0"]
...@@ -475,7 +473,8 @@ ohos: ...@@ -475,7 +473,8 @@ ohos:
name: $OPENHARMONY_BUILDER:$OPENHARMONY_CONTAINER_VERSION name: $OPENHARMONY_BUILDER:$OPENHARMONY_CONTAINER_VERSION
extends: .openharmony_tarball extends: .openharmony_tarball
tags: tags:
- cpu.heavy - origin:eclipse
- tool:bitbake
script: script:
- tar xfz $TARBALL_FILE - tar xfz $TARBALL_FILE
- cd $(basename $TARBALL_FILE .tar.gz)/OpenHarmony - cd $(basename $TARBALL_FILE .tar.gz)/OpenHarmony
......
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