From 02c0b9ff76ec294ec654b747450f5d6527af722e Mon Sep 17 00:00:00 2001 From: Thomas Duckworth Date: Sat, 4 Jul 2026 02:59:53 +0000 Subject: [PATCH] Set the manual publish stage as optional This makes CI green and lets the pipelines finish if publish-manual is never run. Also be explicit that the publish job should never show up outside of a protected branch in kde-linux/kde-linux. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16ee015..c1ff729 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,6 +94,7 @@ publish: rules: - if: $CI_COMMIT_REF_PROTECTED == 'true' && $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == 'kde-linux/kde-linux' when: on_success + - when: never needs: - job: imaging artifacts: true @@ -122,10 +123,11 @@ publish-manual: rules: - if: $CI_COMMIT_REF_PROTECTED == 'true' && $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == 'kde-linux/kde-linux' when: manual + allow_failure: true + - when: never needs: - job: imaging artifacts: true - allow_failure: false image: storage.kde.org/vm-images/kde-linux-builder id_tokens: *tokens variables: *variables