statistics stage for runtime and commit history

This commit is contained in:
Philip Eisenlohr 2022-03-11 13:50:14 -05:00
parent b1effccafe
commit 1b127c65a6
2 changed files with 15 additions and 3 deletions

View File

@ -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:

@ -1 +1 @@
Subproject commit 9c1f83babb7894bfaa16255d6c15a4a438c7f168
Subproject commit 0509f684d3b5b8e30386ac156fff6644905908dc