diff --git a/build-yocto.yml b/build-yocto.yml index 7a1067e113c247682cc5d37b61269e881706cbc7..4400c1de20c90303f01340bd02ba1603c522e761 100644 --- a/build-yocto.yml +++ b/build-yocto.yml @@ -1,5 +1,12 @@ --- +.timestamp: ×tamp + - |- + now=$(date +%s) + lasttime=${lastime-now} + sincelast=$(( now - lasttime )) + echo "Section timestamp $( date -R -d"@$now" ) -- duration $sincelast seconds" + .networkdebug: &networkdebug # - |- @@ -94,15 +101,25 @@ JOB_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}/artifacts/" FNG_INSTALL_PATH: "${BUILDPATH}/${IMAGEPATH}/${INSTALLSCRIPT}" before_script: + - *timestamp - *networkdebug + - *timestamp - !reference [.docker_check] + - *timestamp - !reference [.setup_ssh] + - *timestamp - !reference [.repo_checkout] + - *timestamp script: + - *timestamp - *save_build_env + - *timestamp - *build_script + - *timestamp - *collect_srcrevs + - *timestamp - *dump_install_command + - *timestamp artifacts: reports: dotenv: build.env