Loading .gitlab-ci.yml +15 −0 Original line number Diff line number Diff line Loading @@ -243,6 +243,7 @@ stages: PAGES_HTML_ARTIFACT_NAME: "$CI_JOB_NAME-index.html" SUMMARY_HTML_ARTIFACT_NAME: "summary_$CI_JOB_NAME.html" IMAGES_ARTIFACT_NAME: "images_$CI_JOB_NAME" HISTORY_ARTIFACT_NAME: "daily_results_$(date +%Y-%m-%d)" script: - *print-common-info - *update-scripts-repo Loading @@ -267,6 +268,7 @@ stages: - python3 scripts/parse_xml_report.py report-junit.xml $CSV_ARTIFACT_NAME - mkdir $IMAGES_ARTIFACT_NAME - mkdir $HISTORY_ARTIFACT_NAME - for MEASURE in MLD DIFF SSNR;do python3 scripts/create_histogram_summary.py $CSV_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME/summary_"$MEASURE".csv $IMAGES_ARTIFACT_NAME/summary_"$MEASURE".png --measure $MEASURE; done - python3 ci/basop-pages/create_summary_page.py $SUMMARY_HTML_ARTIFACT_NAME $CI_JOB_ID $CI_JOB_NAME Loading @@ -278,6 +280,8 @@ stages: # This wildcard thingy relies on only one csv file being present per job - file_previous="previous_artifacts/mld--$CI_JOB_NAME-$id_previous--sha-*.csv" - python3 ci/basop-pages/create_report_pages.py $PAGES_HTML_ARTIFACT_NAME $MERGED_CSV_ARTIFACT_NAME $CSV_ARTIFACT_NAME $file_previous $CI_JOB_ID $id_previous $CI_JOB_NAME # Store MLD file for history, such that pages job will only pick these if found in this folder - cp $CSV_ARTIFACT_NAME $HISTORY_ARTIFACT_NAME - else # create empty file for artifacts to avoid errors - touch $PAGES_HTML_ARTIFACT_NAME Loading Loading @@ -311,6 +315,7 @@ stages: - $MERGED_CSV_ARTIFACT_NAME - $SUMMARY_HTML_ARTIFACT_NAME - $IMAGES_ARTIFACT_NAME - $HISTORY_ARTIFACT_NAME expose_as: "pytest compare results" reports: junit: Loading Loading @@ -1188,6 +1193,13 @@ complexity-stereo-in-stereo-out: # job that sets up gitlab pages website pages: stage: deploy dependencies: - ivas-pytest-compare_ref-long-enc - ivas-pytest-compare_ref-long-enc-lev+10 - ivas-pytest-compare_ref-long-enc-lev-10 - ivas-pytest-compare_ref-long-dec - ivas-pytest-compare_ref-long-dec-lev+10 - ivas-pytest-compare_ref-long-dec-lev-10 tags: - ivas-basop-linux rules: Loading @@ -1196,6 +1208,9 @@ pages: - *print-common-info - *update-scripts-repo - python3 ci/setup_pages.py # Copy logs - mkdir -p public/history - cp -r daily_results_* public/history - ls - ls public artifacts: Loading Loading
.gitlab-ci.yml +15 −0 Original line number Diff line number Diff line Loading @@ -243,6 +243,7 @@ stages: PAGES_HTML_ARTIFACT_NAME: "$CI_JOB_NAME-index.html" SUMMARY_HTML_ARTIFACT_NAME: "summary_$CI_JOB_NAME.html" IMAGES_ARTIFACT_NAME: "images_$CI_JOB_NAME" HISTORY_ARTIFACT_NAME: "daily_results_$(date +%Y-%m-%d)" script: - *print-common-info - *update-scripts-repo Loading @@ -267,6 +268,7 @@ stages: - python3 scripts/parse_xml_report.py report-junit.xml $CSV_ARTIFACT_NAME - mkdir $IMAGES_ARTIFACT_NAME - mkdir $HISTORY_ARTIFACT_NAME - for MEASURE in MLD DIFF SSNR;do python3 scripts/create_histogram_summary.py $CSV_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME/summary_"$MEASURE".csv $IMAGES_ARTIFACT_NAME/summary_"$MEASURE".png --measure $MEASURE; done - python3 ci/basop-pages/create_summary_page.py $SUMMARY_HTML_ARTIFACT_NAME $CI_JOB_ID $CI_JOB_NAME Loading @@ -278,6 +280,8 @@ stages: # This wildcard thingy relies on only one csv file being present per job - file_previous="previous_artifacts/mld--$CI_JOB_NAME-$id_previous--sha-*.csv" - python3 ci/basop-pages/create_report_pages.py $PAGES_HTML_ARTIFACT_NAME $MERGED_CSV_ARTIFACT_NAME $CSV_ARTIFACT_NAME $file_previous $CI_JOB_ID $id_previous $CI_JOB_NAME # Store MLD file for history, such that pages job will only pick these if found in this folder - cp $CSV_ARTIFACT_NAME $HISTORY_ARTIFACT_NAME - else # create empty file for artifacts to avoid errors - touch $PAGES_HTML_ARTIFACT_NAME Loading Loading @@ -311,6 +315,7 @@ stages: - $MERGED_CSV_ARTIFACT_NAME - $SUMMARY_HTML_ARTIFACT_NAME - $IMAGES_ARTIFACT_NAME - $HISTORY_ARTIFACT_NAME expose_as: "pytest compare results" reports: junit: Loading Loading @@ -1188,6 +1193,13 @@ complexity-stereo-in-stereo-out: # job that sets up gitlab pages website pages: stage: deploy dependencies: - ivas-pytest-compare_ref-long-enc - ivas-pytest-compare_ref-long-enc-lev+10 - ivas-pytest-compare_ref-long-enc-lev-10 - ivas-pytest-compare_ref-long-dec - ivas-pytest-compare_ref-long-dec-lev+10 - ivas-pytest-compare_ref-long-dec-lev-10 tags: - ivas-basop-linux rules: Loading @@ -1196,6 +1208,9 @@ pages: - *print-common-info - *update-scripts-repo - python3 ci/setup_pages.py # Copy logs - mkdir -p public/history - cp -r daily_results_* public/history - ls - ls public artifacts: Loading