diff --git a/build-yocto.yml b/build-yocto.yml index 7a1067e113c247682cc5d37b61269e881706cbc7..fb33cf4984df1e9edf138dc695719784a3951ff2 100644 --- a/build-yocto.yml +++ b/build-yocto.yml @@ -1,5 +1,12 @@ --- +.timestamp: ×tamp + - |- + now=$(date +%s) + sincelast="$(( now - lasttime ))" + export lasttime="$now" + 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