Skip to content
Snippets Groups Projects
Commit d5d8ebd1 authored by Jonas Höppner's avatar Jonas Höppner
Browse files

CI:debug add timestamps

parent 437cefe9
No related branches found
No related tags found
1 merge request!226Draft: CI: Add test command to show ip settings before build
Pipeline #46428 passed with stages
in 2 minutes and 27 seconds
--- ---
.timestamp: &timestamp
- |-
now=$(date +%s)
sincelast="$(( now - lasttime ))"
export lasttime="$now"
echo "Section timestamp $( date -R -d"@$now" ) -- duration $sincelast seconds"
.networkdebug: &networkdebug .networkdebug: &networkdebug
# #
- |- - |-
...@@ -94,15 +101,25 @@ ...@@ -94,15 +101,25 @@
JOB_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}/artifacts/" JOB_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}/artifacts/"
FNG_INSTALL_PATH: "${BUILDPATH}/${IMAGEPATH}/${INSTALLSCRIPT}" FNG_INSTALL_PATH: "${BUILDPATH}/${IMAGEPATH}/${INSTALLSCRIPT}"
before_script: before_script:
- *timestamp
- *networkdebug - *networkdebug
- *timestamp
- !reference [.docker_check] - !reference [.docker_check]
- *timestamp
- !reference [.setup_ssh] - !reference [.setup_ssh]
- *timestamp
- !reference [.repo_checkout] - !reference [.repo_checkout]
- *timestamp
script: script:
- *timestamp
- *save_build_env - *save_build_env
- *timestamp
- *build_script - *build_script
- *timestamp
- *collect_srcrevs - *collect_srcrevs
- *timestamp
- *dump_install_command - *dump_install_command
- *timestamp
artifacts: artifacts:
reports: reports:
dotenv: build.env dotenv: build.env
......
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