ci: added web as trigger for downstream pipelines

This commit is contained in:
wakonig_k 2024-03-22 16:10:59 +01:00
parent b3ebe4e35d
commit b46aac7a8a

View File

@ -6,6 +6,7 @@ image: $CI_DOCKER_REGISTRY/python:3.10
variables: variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
OPHYD_DEVICES_BRANCH: "master" OPHYD_DEVICES_BRANCH: "master"
BEC_WIDGETS_BRANCH: "master"
workflow: workflow:
rules: rules:
@ -371,7 +372,10 @@ trigger_bec-widgets:
trigger: trigger:
project: bec/bec-widgets project: bec/bec-widgets
strategy: depend strategy: depend
variables:
BEC_CORE_BRANCH: $CI_COMMIT_REF_NAME
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "production"' - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "production"'
@ -379,7 +383,10 @@ trigger_ophyd-devices:
trigger: trigger:
project: bec/ophyd_devices project: bec/ophyd_devices
strategy: depend strategy: depend
variables:
BEC_CORE_BRANCH: $CI_COMMIT_REF_NAME
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "production"' - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "production"'