From 06b5c89238b4a6af2f6a1858947c22fd3a531f3e Mon Sep 17 00:00:00 2001 From: Lorenzo Pagliai <lorenzo.pagliai@seco.com> Date: Wed, 26 Jul 2023 11:34:34 +0200 Subject: [PATCH] [CACHE][TAG] Use downloads and sstate-cache on tag * In a first implementation of the build logic, the downloads and sstate-cache were supposed to be used only on sheduled and MR builds. However, as the number of supported boards increase, there is more necessity of CPU and time to get all Yocto images built when a tag is performed. For this reason we decide to remove the differentiation at least as long as the build server is not upgraded. * Increase the tiemout of the notify job. this is necessary because it actually downloads the artifacts from build jobs. --- manifest-pipeline-yocto.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 44e7fe2..cf2e665 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -211,7 +211,7 @@ retrigger: sh .gitlab-ci/scripts/build_setup.sh $GITBOT_TOKEN $CI_REPOSITORY_URL $BUILD_BRANCH $DEFCONFIG_FILE $RECIPE_NAME . ./seco-setup.sh -d ${DEFCONFIG_FILE}; . ./seco-setup.sh -c; - if [ -z "$CI_COMMIT_TAG" ]; then sh ../.gitlab-ci/scripts/yocto_cache_setup.sh $PROCESSOR $NUM_MAX_CPU $CUSTOM; fi; + sh ../.gitlab-ci/scripts/yocto_cache_setup.sh $PROCESSOR $NUM_MAX_CPU $CUSTOM; if [ ! -z "$RAM_CONF" ]; then sed -i -e '/UBOOT_CONFIG =/d' conf/local.conf; echo 'UBOOT_CONFIG = \"$RAM_CONF\"' >> conf/local.conf; cat conf/local.conf; fi; time bitbake ${RECIPE_NAME}; if [[ "$CI_JOB_NAME" != *"embedded"* ]]; then time bitbake seco-bundle-edgehog; fi; @@ -376,7 +376,7 @@ changelog: notify: stage: notify - timeout: 4h + timeout: 10h image: name: mcr.microsoft.com/azure-cli entrypoint: [""] -- GitLab