aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2022-05-17 10:35:11 +0300
committerMikko Gronoff <mikko.gronoff@qt.io>2022-05-17 11:11:15 +0300
commitb89066f0f8b67694045e4dbce5c69f2df479f2d3 (patch)
tree78ba22b2661c5ac3d746850444a9f9c06a278b84
parentd9d0b8148433d7257de7c717d697fffb0966952a (diff)
coin: start using ci manifest
As in meta-qt6, use manifests for ci targets to enable easy revision control over all yocto branches Change-Id: I71e396d5b369882e11a76fc7d9f609f27086866e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--coin/module_config.yaml35
1 files changed, 19 insertions, 16 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index b28c7202..9a423f06 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -27,8 +27,8 @@ target1: &target1
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: gatesgarth
+ variableName: MANIFEST
+ variableValue: gatesgarth.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
@@ -43,8 +43,8 @@ target2: &target2
variableName: MACHINE
variableValue: qemux86
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: dunfell
+ variableName: MANIFEST
+ variableValue: dunfell.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
@@ -59,8 +59,8 @@ target3: &target3
variableName: MACHINE
variableValue: qemuarm
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: hardknott
+ variableName: MANIFEST
+ variableValue: hardknott.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
@@ -75,8 +75,8 @@ target4: &target4
variableName: MACHINE
variableValue: qemux86-64
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: honister
+ variableName: MANIFEST
+ variableValue: honister.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
@@ -91,8 +91,8 @@ target5: &target5
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: master
+ variableName: MANIFEST
+ variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
@@ -130,12 +130,15 @@ instructions:
sudo mkdir -p /mnt/yocto-cache
sudo mount yocto-cache.ci.qt.io:/srv/yocto-cache /mnt/yocto-cache
- git clone git://git.yoctoproject.org/poky --reference /mnt/yocto-cache/mirror/poky.git
- (cd poky; git checkout ${YOCTO_BRANCH})
- git clone git://git.openembedded.org/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git
- (cd meta-openembedded; git checkout ${YOCTO_BRANCH})
- git clone git://git.openembedded.org/meta-python2 --reference /mnt/yocto-cache/mirror/meta-python2.git
- (cd meta-python2; git checkout ${YOCTO_BRANCH})
+ curl https://storage.googleapis.com/git-repo-downloads/repo > repo
+ chmod +x repo
+
+ ./repo init \
+ -u git://code.qt.io/yocto/boot2qt-manifest \
+ -b ci \
+ -m ${MANIFEST} \
+ --reference /mnt/mirror
+ ./repo sync
source ./poky/oe-init-build-env
bitbake-layers add-layer ../meta-openembedded/meta-oe