From 36f9e61bf248324f16a7bbd1d1b06c5d94ab1bd2 Mon Sep 17 00:00:00 2001 From: Tapani Pihlajakuja Date: Fri, 25 Aug 2023 14:36:08 +0300 Subject: [PATCH 1/2] Add bits to enable manual runs of testing BE against the released codec. --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 079d8235e7..4445757e04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,13 @@ variables: EXIT_CODE_FAIL: 1 PROCESSING_SCRIPTS_BIN_DIR: "/test-bin" TESTS_DIR_CODEC_BE_ON_MR: "tests/codec_be_on_mr_nonselection" + MANUAL_PIPELINE_TYPE: + description: "Type for the manual pipeline run. Use 'test-be-release' to run BE test against release codec." + value: 'default' + options: + - 'default' + - 'test-be-release' + default: interruptible: true # Make all jobs by default interruptible @@ -1037,6 +1044,24 @@ codec-comparison-on-main-push: reports: junit: report-junit.xml + +# --------------------------------------------------------------- +# Manual jobs +# --------------------------------------------------------------- + +test-be-to-release: + stage: test + tags: + - ivas-windows + resource_group: ivas-be-to-release-test-resource + timeout: "20 minutes" + rules: + - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'test-be-release' + script: + - echo "Placeholder for BE test to release" + - echo "$CI_COMMIT_BRANCH" + + # --------------------------------------------------------------- # Scheduled jobs on main # --------------------------------------------------------------- -- GitLab From 0faea7e3b7e181355fa9d79303a594e1f6e8e2e0 Mon Sep 17 00:00:00 2001 From: Tapani Pihlajakuja Date: Fri, 25 Aug 2023 14:46:23 +0300 Subject: [PATCH 2/2] Disable other jobs for manual run of test-be-release. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4445757e04..6a01a7a071 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -150,6 +150,8 @@ stages: when: never - if: $CI_PIPELINE_SOURCE == 'trigger' # Don't run triggered pipeline by default when: never + - if: $MANUAL_PIPELINE_TYPE == 'test-be-release' # Skip all the normal jobs when testing manually against release codec + when: never - when: on_success .rules-merge-request: -- GitLab