Commit a5df33e3 authored by norvell's avatar norvell
Browse files

Cleanup of commented out code

parent e1619a1a
Loading
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
@@ -516,34 +516,6 @@ stages:
    - python3 scripts/parse_xml_report.py report-junit-dut.xml report-dut.csv
    - python3 scripts/diff_report.py report-ref.csv report-dut.csv report-diff.csv

    # - mkdir $IMAGES_ARTIFACT_NAME
    # - for MEASURE in MLD DIFF SSNR ODG;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

    # - if [ $USE_LTV -eq 1 ] && [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]; then
    # -    id_previous=$(python3 ci/get_id_of_last_job_occurence.py $CI_DEFAULT_BRANCH $CI_JOB_NAME $CI_PROJECT_ID)
    # -    echo "Job ID from variables - $CI_JOB_ID, Job ID from script - $id_previous"
    # -    curl --request GET "https://forge.3gpp.org/rep/api/v4/projects/$CI_PROJECT_ID/jobs/$id_previous/artifacts" --output artifacts.zip
    # -    unzip artifacts.zip -d previous_artifacts
    # # 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
    # - else
    # # create empty file for artifacts to avoid errors
    # -    touch $PAGES_HTML_ARTIFACT_NAME
    # -    touch $MERGED_CSV_ARTIFACT_NAME
    # - fi

    # - if [ $zero_errors != 1 ]; then
    # -     echo "Run errors encountered!"
    # # TODO: temporary only to not fail MR pipelines on crashes
    # -     if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
    # -         exit $EXIT_CODE_NON_BE
    # -     else
    # -         exit $EXIT_CODE_FAIL
    # -     fi
    # - fi
    # - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi
    - exit 0

  allow_failure: