mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-27 21:21:08 +02:00
ci: added echo to highlight the current branch
This commit is contained in:
@ -5,7 +5,7 @@ image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.10
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
BEC_CORE_BRANCH: "main"
|
BEC_CORE_BRANCH: "main"
|
||||||
CHILD_PIPELINE_BRANCH: "main"
|
CHILD_PIPELINE_BRANCH: $CI_DEFAULT_BRANCH
|
||||||
CSAXS_BEC_BRANCH: "main"
|
CSAXS_BEC_BRANCH: "main"
|
||||||
PXIII_BEC_BRANCH: "main"
|
PXIII_BEC_BRANCH: "main"
|
||||||
DEBYE_BEC_BRANCH: "main"
|
DEBYE_BEC_BRANCH: "main"
|
||||||
@ -38,7 +38,8 @@ include:
|
|||||||
|
|
||||||
#commands to run in the Docker container before starting each job.
|
#commands to run in the Docker container before starting each job.
|
||||||
before_script:
|
before_script:
|
||||||
- if [[ "$CI_PROJECT_PATH" != "bec/ophyd_devices" ]]; then
|
- if [[ "$CI_PROJECT_PATH" != "bec/ophyd_devices" ]]; then
|
||||||
|
echo -e "\033[35;1m Using branch $CHILD_PIPELINE_BRANCH of Ophyd Devices \033[0;m";
|
||||||
test -d ophyd_devices || git clone --branch $CHILD_PIPELINE_BRANCH https://gitlab.psi.ch/bec/ophyd_devices.git; cd ophyd_devices;
|
test -d ophyd_devices || git clone --branch $CHILD_PIPELINE_BRANCH https://gitlab.psi.ch/bec/ophyd_devices.git; cd ophyd_devices;
|
||||||
fi
|
fi
|
||||||
- pip install -e .[dev]
|
- pip install -e .[dev]
|
||||||
|
Reference in New Issue
Block a user