mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-05-31 00:50:40 +02:00
ci: made BEC a child pipeline
This commit is contained in:
parent
0f6494ae2c
commit
9eb67a0900
@ -68,6 +68,8 @@ formatter:
|
|||||||
- isort --check --diff ./
|
- isort --check --diff ./
|
||||||
- black --check --diff --color ./
|
- black --check --diff --color ./
|
||||||
rules:
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "parent_pipeline"'
|
||||||
|
when: never
|
||||||
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
@ -85,6 +87,8 @@ pylint:
|
|||||||
- ./pylint/
|
- ./pylint/
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
rules:
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "parent_pipeline"'
|
||||||
|
when: never
|
||||||
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
@ -119,6 +123,8 @@ pylint-check:
|
|||||||
- ./pylint/
|
- ./pylint/
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
rules:
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "parent_pipeline"'
|
||||||
|
when: never
|
||||||
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
@ -176,12 +182,16 @@ tests-3.12:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
trigger_bec:
|
trigger_bec:
|
||||||
|
needs: []
|
||||||
trigger:
|
trigger:
|
||||||
project: bec/bec
|
|
||||||
strategy: depend
|
strategy: depend
|
||||||
branch: $BEC_CORE_BRANCH
|
include:
|
||||||
|
- project: bec/bec
|
||||||
|
ref: $BEC_CORE_BRANCH
|
||||||
|
file: /.gitlab-ci.yml
|
||||||
variables:
|
variables:
|
||||||
OPHYD_DEVICES_BRANCH: $CI_COMMIT_REF_NAME
|
OPHYD_DEVICES_BRANCH: $CI_COMMIT_REF_NAME
|
||||||
|
CHILD_PIPELINE_BRANCH: $BEC_CORE_BRANCH
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" && $CI_PROJECT_PATH == "bec/ophyd_devices"'
|
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" && $CI_PROJECT_PATH == "bec/ophyd_devices"'
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user