From bf2ee1f78c5039e9bc0976dd2a0657c755da878b Mon Sep 17 00:00:00 2001 From: Thomas Duckworth Date: Fri, 3 Jul 2026 12:48:07 +0000 Subject: [PATCH] Add a manual publish override when OpenQA is borked Allows us to publish an image anyway even if OpenQA fails/something breaks. --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f28f984..90e7e58 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -111,3 +111,28 @@ publish: when: always paths: - "**/erofs.log" + +# Manual override for publishing a staged image when OpenQA breaks. +publish-manual: + stage: publish + tags: + - VM + - amd64 + rules: + - if: $CI_COMMIT_REF_PROTECTED == 'true' && $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == 'kde-linux/kde-linux' + when: manual + needs: + - job: imaging + artifacts: true + allow_failure: false + image: storage.kde.org/vm-images/kde-linux-builder + id_tokens: *tokens + variables: *variables + script: + - curl -s https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer | bash + - ./upload.sh --publish + artifacts: + expire_in: 4 weeks + when: always + paths: + - "**/erofs.log"