From 4e01a5e65b4aed855cf0083275c351970dca571a Mon Sep 17 00:00:00 2001 From: knj Date: Tue, 22 Nov 2022 13:38:25 +0100 Subject: [PATCH] prepare pages job to run in separate schedule --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a31842daec..a32388f0c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" -- GitLab