From 1b127c65a6b59ba35872daf689b0a7ebd0867095 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Fri, 11 Mar 2022 13:50:14 -0500 Subject: [PATCH] statistics stage for runtime and commit history --- .gitlab-ci.yml | 16 ++++++++++++++-- PRIVATE | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 834fd68ee..8d720a2e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - python - compile - fortran - - performance + - statistics - finalize @@ -190,7 +190,7 @@ Marc: ################################################################################################### grid_runtime: - stage: performance + stage: statistics before_script: - ${LOCAL_HOME}/bin/queue ${CI_JOB_ID} --blocking - source env/DAMASK.sh @@ -210,6 +210,18 @@ grid_runtime: --tag ${CI_COMMIT_SHA} - if [ ${CI_COMMIT_BRANCH} == development ]; then git commit -am ${CI_PIPELINE_ID}_${CI_COMMIT_SHA}; git push; fi +commit_history: + stage: statistics + script: + - cd $(mktemp -d) + - ${CI_PROJECT_DIR}/PRIVATE/testing/plot_commithistory.py --color green -n 5 -N 100 + - ${CI_PROJECT_DIR}/PRIVATE/testing/plot_commithistory.py --color green -n 5 -N 1000 + - ${CI_PROJECT_DIR}/PRIVATE/testing/plot_commithistory.py --color green -n 5 -N 10000 + - scp -r ./commits_*.html damask3.mpie.de:~/ + - ssh damask3.mpie.de "./update_statistics.sh" + only: + - development + ################################################################################################### update_revision: diff --git a/PRIVATE b/PRIVATE index 9c1f83bab..0509f684d 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit 9c1f83babb7894bfaa16255d6c15a4a438c7f168 +Subproject commit 0509f684d3b5b8e30386ac156fff6644905908dc