Skip to content
Snippets Groups Projects
Commit 2150d11f authored by Esben Haabendal's avatar Esben Haabendal
Browse files

CI: Speed up fetching and measure time for each bitbake fetch command


Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent bec3e6e6
No related branches found
No related tags found
1 merge request!20CI: Test toolchain and bundle images against OHOS codebase
...@@ -193,11 +193,11 @@ fetch: ...@@ -193,11 +193,11 @@ fetch:
- for DISTRO in oniro-openharmony-linux ; do - for DISTRO in oniro-openharmony-linux ; do
for OPENHARMONY_VERSION in 3.0 3.1 ; do for OPENHARMONY_VERSION in 3.0 3.1 ; do
for MACHINE in qemuarma7 ; do for MACHINE in qemuarma7 ; do
for RECIPE in oniro-openharmony-bundle openharmony-standard-image openharmony-standard-image-tests ; do RECIPES="oniro-openharmony-bundle openharmony-standard-image openharmony-standard-image-tests" ;
echo Fetching DISTRO=$DISTRO OPENHARMONY_VERSION=$OPENHARMONY_VERSION MACHINE=$MACHINE RECIPE=$RECIPE ; echo Fetching DISTRO=$DISTRO OPENHARMONY_VERSION=$OPENHARMONY_VERSION MACHINE=$MACHINE RECIPE=$RECIPE ;
sed -r "s/^OPENHARMONY_VERSION.*/OPENHARMONY_VERSION = \"${OPENHARMONY_VERSION}\"/" -i conf/auto.conf ; sed -r "s/^OPENHARMONY_VERSION.*/OPENHARMONY_VERSION = \"${OPENHARMONY_VERSION}\"/" -i conf/auto.conf ;
bitbake $RECIPE --runall=fetch ; time bitbake $RECIPES --runall=fetch ;
done ; done ; done ; done done ; done ; done
after_script: after_script:
# Copy all regular files from downloads dir (except *.done files) to # Copy all regular files from downloads dir (except *.done files) to
# mirror dirs. Note, file is first copied to a temporary file (in same # mirror dirs. Note, file is first copied to a temporary file (in same
......
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