mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2026-07-22 17:49:33 +00:00
Merge branch 'feature/QA-354_prevent_duplicate_pipelines__1_17_0' into 'release/1.17.0'
QA-354 Prevent duplicate pipelines for MRs (1.17.0) See merge request kasm-technologies/internal/workspaces-images!431
This commit is contained in:
commit
5cc6c4ff5b
1 changed files with 10 additions and 0 deletions
|
|
@ -9,6 +9,16 @@ stages:
|
|||
- run
|
||||
default:
|
||||
retry: 2
|
||||
|
||||
# Prevent duplicate pipelines for push events to branches that also have open MRs
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_OPEN_MERGE_REQUESTS
|
||||
when: never
|
||||
- when: always
|
||||
|
||||
variables:
|
||||
BASE_TAG: "1.17.0-rolling-daily"
|
||||
USE_PRIVATE_IMAGES: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue