mirror of
https://github.com/KDE/kde-linux.git
synced 2026-08-03 02:37:51 -04:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user