Commit 3b889ac8 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'complexity-measurement-maintenance' into 'main'

Make pages job run in separate schedule

See merge request !282
parents 4a220f6a 4e01a5e6
Loading
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -1071,13 +1071,15 @@ complexity-StereoDmxEVS-stereo-in-mono-out:
# Other jobs
# ---------------------------------------------------------------

# job that sets up gitlab pages website
# is run on a separate schedule and collects artifacts from other jobs (currently
# only the complexity measurements) multiple times a day
pages:
  stage: deploy
  tags:
    - test-complexity-measurement
    - ivas-linux
  rules:
    # only run for pipelines that affect the data for the page
    - if: $MEASURE_COMPLEXITY_LINUX
    - if: $UPDATE_PAGES
    # TODO: add coverage job
  script:

@@ -1085,7 +1087,8 @@ pages:
    - branch=$CI_COMMIT_REF_NAME

    - mkdir public
    # get artifacts for complexity jobs

    ### fetch artifacts from latest run of complexity jobs
    - job_id=$(python3 ci/get_id_of_last_job_occurence.py $branch complexity-stereo-in-stereo-out)
    - echo $job_id
    - echo "$API_URL_BASE/$job_id/artifacts"